From: Matt Arsenault Date: Fri, 13 Jun 2014 07:44:38 +0000 (+0000) Subject: R600: Don't call setOperationAction with things that aren't opcodes. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=efa4805b5836c8f496154b2607d2983d83211ee8;p=oota-llvm.git R600: Don't call setOperationAction with things that aren't opcodes. 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 --- diff --git a/lib/Target/R600/AMDILISelLowering.cpp b/lib/Target/R600/AMDILISelLowering.cpp index 6001899ac8d..ecd26ee3bb9 100644 --- a/lib/Target/R600/AMDILISelLowering.cpp +++ b/lib/Target/R600/AMDILISelLowering.cpp @@ -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) {