Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(548)

Side by Side Diff: lib/Target/R600/AMDILDeviceInfo.cpp

Issue 183273009: Prep for merging 3.4: Undo changes from 3.3 branch (Closed) Base URL: http://git.chromium.org/native_client/pnacl-llvm.git@master
Patch Set: Retry Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « lib/Target/R600/AMDGPUTargetMachine.cpp ('k') | lib/Target/R600/AMDILPeepholeOptimizer.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 //===-- AMDILDeviceInfo.cpp - AMDILDeviceInfo class -----------------------===// 1 //===-- AMDILDeviceInfo.cpp - AMDILDeviceInfo class -----------------------===//
2 // 2 //
3 // The LLVM Compiler Infrastructure 3 // The LLVM Compiler Infrastructure
4 // 4 //
5 // This file is distributed under the University of Illinois Open Source 5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details. 6 // License. See LICENSE.TXT for details.
7 // 7 //
8 //==-----------------------------------------------------------------------===// 8 //==-----------------------------------------------------------------------===//
9 // 9 //
10 /// \file 10 /// \file
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 return new AMDGPUCaymanDevice(ptr); 74 return new AMDGPUCaymanDevice(ptr);
75 } else if (deviceName == "caicos") { 75 } else if (deviceName == "caicos") {
76 #if DEBUG 76 #if DEBUG
77 assert(!is64bit && "This device does not support 64bit pointers!"); 77 assert(!is64bit && "This device does not support 64bit pointers!");
78 assert(!is64on32bit && "This device does not support 64bit" 78 assert(!is64on32bit && "This device does not support 64bit"
79 " on 32bit pointers!"); 79 " on 32bit pointers!");
80 #endif 80 #endif
81 return new AMDGPUNIDevice(ptr); 81 return new AMDGPUNIDevice(ptr);
82 } else if (deviceName == "SI" || 82 } else if (deviceName == "SI" ||
83 deviceName == "tahiti" || deviceName == "pitcairn" || 83 deviceName == "tahiti" || deviceName == "pitcairn" ||
84 deviceName == "verde" || deviceName == "oland" || 84 deviceName == "verde" || deviceName == "oland") {
85 » deviceName == "hainan") {
86 return new AMDGPUSIDevice(ptr); 85 return new AMDGPUSIDevice(ptr);
87 } else { 86 } else {
88 #if DEBUG 87 #if DEBUG
89 assert(!is64bit && "This device does not support 64bit pointers!"); 88 assert(!is64bit && "This device does not support 64bit pointers!");
90 assert(!is64on32bit && "This device does not support 64bit" 89 assert(!is64on32bit && "This device does not support 64bit"
91 " on 32bit pointers!"); 90 " on 32bit pointers!");
92 #endif 91 #endif
93 return new AMDGPU7XXDevice(ptr); 92 return new AMDGPU7XXDevice(ptr);
94 } 93 }
95 } 94 }
96 } // End namespace AMDGPUDeviceInfo 95 } // End namespace AMDGPUDeviceInfo
97 } // End namespace llvm 96 } // End namespace llvm
OLDNEW
« no previous file with comments | « lib/Target/R600/AMDGPUTargetMachine.cpp ('k') | lib/Target/R600/AMDILPeepholeOptimizer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698