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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@210888 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/R600/AMDILISelLowering.cpp

index 6001899ac8dd77cf284560ea2c5eca4aaa668f79..ecd26ee3bb9312b6d3f92c3951a7f5e6e3055121 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) {