diff lib/Target/R600/AMDGPUSubtarget.cpp @ 33:e4204d083e25

LLVM 3.5
author Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
date Thu, 12 Dec 2013 14:32:10 +0900
parents 95c75e76d11b
children 54457678186b
line wrap: on
line diff
--- a/lib/Target/R600/AMDGPUSubtarget.cpp	Thu Dec 12 13:57:29 2013 +0900
+++ b/lib/Target/R600/AMDGPUSubtarget.cpp	Thu Dec 12 14:32:10 2013 +0900
@@ -80,7 +80,7 @@
 }
 size_t
 AMDGPUSubtarget::getDefaultSize(uint32_t dim) const {
-  if (dim > 3) {
+  if (dim > 2) {
     return 1;
   } else {
     return DefaultSize[dim];