R600: Don't call setOperationAction with things that aren't opcodes.
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Fri, 13 Jun 2014 07:44:38 +0000 (07:44 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Fri, 13 Jun 2014 07:44:38 +0000 (07:44 +0000)
CondCode actions are set with setCondCodeAction.
This should have been a harmless bug since the values seem to only
collide only with nodes that don't need to be handled, and these are
already correctly setup elsewhere.

llvm-svn: 210888

llvm/lib/Target/R600/AMDILISelLowering.cpp

index 6001899..ecd26ee 100644 (file)
@@ -106,14 +106,6 @@ void AMDGPUTargetLowering::InitAMDILLowering() {
   for (MVT VT : FloatTypes) {
     // IL does not have these operations for floating point types
     setOperationAction(ISD::FP_ROUND_INREG, VT, Expand);
-    setOperationAction(ISD::SETOLT, VT, Expand);
-    setOperationAction(ISD::SETOGE, VT, Expand);
-    setOperationAction(ISD::SETOGT, VT, Expand);
-    setOperationAction(ISD::SETOLE, VT, Expand);
-    setOperationAction(ISD::SETULT, VT, Expand);
-    setOperationAction(ISD::SETUGE, VT, Expand);
-    setOperationAction(ISD::SETUGT, VT, Expand);
-    setOperationAction(ISD::SETULE, VT, Expand);
   }
 
   for (MVT VT : IntTypes) {