projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
R600: Fix selection failure for vector bswap
[oota-llvm.git]
/
lib
/
Target
/
R600
/
AMDGPUISelLowering.cpp
diff --git
a/lib/Target/R600/AMDGPUISelLowering.cpp
b/lib/Target/R600/AMDGPUISelLowering.cpp
index 7b6df9ac407e3c4f20d573f1b0943648b32a9aee..849f16919c092ab5392c57b89b9532b46f2f4e6b 100644
(file)
--- a/
lib/Target/R600/AMDGPUISelLowering.cpp
+++ b/
lib/Target/R600/AMDGPUISelLowering.cpp
@@
-237,6
+237,7
@@
AMDGPUTargetLowering::AMDGPUTargetLowering(TargetMachine &TM) :
setOperationAction(ISD::SELECT, VT, Expand);
setOperationAction(ISD::VSELECT, VT, Expand);
setOperationAction(ISD::XOR, VT, Expand);
+ setOperationAction(ISD::BSWAP, VT, Expand);
}
static const MVT::SimpleValueType FloatTypes[] = {