R600: Fix selection failure for vector bswap
[oota-llvm.git] / lib / Target / R600 / AMDGPUISelLowering.cpp
index 7b6df9ac407e3c4f20d573f1b0943648b32a9aee..849f16919c092ab5392c57b89b9532b46f2f4e6b 100644 (file)
@@ -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[] = {