diff options
| author | Matt Arsenault <Matthew.Arsenault@amd.com> | 2014-06-13 07:44:38 +0000 |
|---|---|---|
| committer | Matt Arsenault <Matthew.Arsenault@amd.com> | 2014-06-13 07:44:38 +0000 |
| commit | c02eea7f6485d5ee253a4b238ea8dc6761e38a62 (patch) | |
| tree | 54c0bf325c2856b9f06bc7bf26e4aa25052c12a2 /llvm | |
| parent | 5217a8b84f5b0854537c0e185196dc1de9463070 (diff) | |
| download | bcm5719-llvm-c02eea7f6485d5ee253a4b238ea8dc6761e38a62.tar.gz bcm5719-llvm-c02eea7f6485d5ee253a4b238ea8dc6761e38a62.zip | |
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.
llvm-svn: 210888
Diffstat (limited to 'llvm')
| -rw-r--r-- | llvm/lib/Target/R600/AMDILISelLowering.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/llvm/lib/Target/R600/AMDILISelLowering.cpp b/llvm/lib/Target/R600/AMDILISelLowering.cpp index 6001899ac8d..ecd26ee3bb9 100644 --- a/llvm/lib/Target/R600/AMDILISelLowering.cpp +++ b/llvm/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) { |

