projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a600064
)
Fix an index array check.
author
Eric Christopher
<echristo@gmail.com>
Fri, 6 Dec 2013 02:45:24 +0000
(
02:45
+0000)
committer
Eric Christopher
<echristo@gmail.com>
Fri, 6 Dec 2013 02:45:24 +0000
(
02:45
+0000)
Patch by Marius Wachtler.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@196561
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/R600/AMDGPUSubtarget.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/R600/AMDGPUSubtarget.cpp
b/lib/Target/R600/AMDGPUSubtarget.cpp
index 061793a68b9dc1b194b2520a3106b98fbe733ee7..b892e7e1d1081ae6b9a428a4acf0eb668e4714f2 100644
(file)
--- a/
lib/Target/R600/AMDGPUSubtarget.cpp
+++ b/
lib/Target/R600/AMDGPUSubtarget.cpp
@@
-80,7
+80,7
@@
AMDGPUSubtarget::isTargetELF() const {
}
size_t
AMDGPUSubtarget::getDefaultSize(uint32_t dim) const {
- if (dim >
3
) {
+ if (dim >
2
) {
return 1;
} else {
return DefaultSize[dim];