diff options
author | Vincent Lejeune <[email protected]> | 2012-10-08 15:34:36 +0200 |
---|---|---|
committer | Vincent Lejeune <[email protected]> | 2012-10-10 22:03:20 +0200 |
commit | 9a6bb3f645eec8ce9b04584f1bd8e76095f20a06 (patch) | |
tree | e4e29b1c940ef5c21d2c341764f1ae00fbb0325d /src/gallium/drivers/radeon/AMDGPUISelLowering.cpp | |
parent | bfdf26892c2df430384d03ba356038df7853ffb9 (diff) |
radeon/llvm: use floor intrinsic instead of llvm.AMDIL.floor
Reviewed-by: Tom Stellard <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeon/AMDGPUISelLowering.cpp')
-rw-r--r-- | src/gallium/drivers/radeon/AMDGPUISelLowering.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeon/AMDGPUISelLowering.cpp b/src/gallium/drivers/radeon/AMDGPUISelLowering.cpp index 30dd8f323d7..7d4ce610847 100644 --- a/src/gallium/drivers/radeon/AMDGPUISelLowering.cpp +++ b/src/gallium/drivers/radeon/AMDGPUISelLowering.cpp @@ -37,6 +37,7 @@ AMDGPUTargetLowering::AMDGPUTargetLowering(TargetMachine &TM) : setOperationAction(ISD::FPOW, MVT::f32, Legal); setOperationAction(ISD::FLOG2, MVT::f32, Legal); setOperationAction(ISD::FABS, MVT::f32, Legal); + setOperationAction(ISD::FFLOOR, MVT::f32, Legal); setOperationAction(ISD::FRINT, MVT::f32, Legal); setOperationAction(ISD::UDIV, MVT::i32, Expand); |