Mercurial > hg > Members > tobaru > cbc > CbC_llvm
comparison 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 |
comparison
equal
deleted
inserted
replaced
1:f783a2dd24b1 | 33:e4204d083e25 |
---|---|
78 AMDGPUSubtarget::isTargetELF() const { | 78 AMDGPUSubtarget::isTargetELF() const { |
79 return false; | 79 return false; |
80 } | 80 } |
81 size_t | 81 size_t |
82 AMDGPUSubtarget::getDefaultSize(uint32_t dim) const { | 82 AMDGPUSubtarget::getDefaultSize(uint32_t dim) const { |
83 if (dim > 3) { | 83 if (dim > 2) { |
84 return 1; | 84 return 1; |
85 } else { | 85 } else { |
86 return DefaultSize[dim]; | 86 return DefaultSize[dim]; |
87 } | 87 } |
88 } | 88 } |