diff options
author | Tom Stellard <[email protected]> | 2012-09-13 15:04:15 +0000 |
---|---|---|
committer | Tom Stellard <[email protected]> | 2012-09-21 19:30:53 +0000 |
commit | 87decd6e66d145f4af87c871c0f5086b5b17e002 (patch) | |
tree | f2e951c91ce74cd75b8adca8ef2adcc3ae1b96ad /src/gallium/drivers/radeon/AMDGPUISelLowering.cpp | |
parent | aa3c2e3186c3bfb59da417938d0558f4d13d7cac (diff) |
radeon/llvm: Replace AMDGPU pow intrinsic with the llvm version
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 3f9c82076f0..d6304a2307e 100644 --- a/src/gallium/drivers/radeon/AMDGPUISelLowering.cpp +++ b/src/gallium/drivers/radeon/AMDGPUISelLowering.cpp @@ -34,6 +34,7 @@ AMDGPUTargetLowering::AMDGPUTargetLowering(TargetMachine &TM) : // for them. setOperationAction(ISD::FCEIL, MVT::f32, Legal); setOperationAction(ISD::FEXP2, MVT::f32, Legal); + setOperationAction(ISD::FPOW, MVT::f32, Legal); setOperationAction(ISD::FRINT, MVT::f32, Legal); setOperationAction(ISD::UDIV, MVT::i32, Expand); |