diff options
author | Tom Stellard <thomas.stellard@amd.com> | 2013-07-23 01:47:46 +0000 |
---|---|---|
committer | Tom Stellard <thomas.stellard@amd.com> | 2013-07-23 01:47:46 +0000 |
commit | beed74af487b7546e15bd84d3235dc1e2b40d536 (patch) | |
tree | 06d774409dd23653e39faffc050c8ad3c794469c /llvm/lib | |
parent | d83d52481e62d8b67ac42a4a50424a9776af39cf (diff) | |
download | bcm5719-llvm-beed74af487b7546e15bd84d3235dc1e2b40d536.tar.gz bcm5719-llvm-beed74af487b7546e15bd84d3235dc1e2b40d536.zip |
R600: Expand vector FNEG
llvm-svn: 186913
Diffstat (limited to 'llvm/lib')
-rw-r--r-- | llvm/lib/Target/R600/AMDGPUISelLowering.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/Target/R600/AMDGPUISelLowering.cpp b/llvm/lib/Target/R600/AMDGPUISelLowering.cpp index 2a4e44f8624..d74d9f89c37 100644 --- a/llvm/lib/Target/R600/AMDGPUISelLowering.cpp +++ b/llvm/lib/Target/R600/AMDGPUISelLowering.cpp @@ -78,6 +78,9 @@ AMDGPUTargetLowering::AMDGPUTargetLowering(TargetMachine &TM) : setOperationAction(ISD::LOAD, MVT::f64, Promote); AddPromotedToType(ISD::LOAD, MVT::f64, MVT::i64); + setOperationAction(ISD::FNEG, MVT::v2f32, Expand); + setOperationAction(ISD::FNEG, MVT::v4f32, Expand); + setOperationAction(ISD::MUL, MVT::i64, Expand); setOperationAction(ISD::UDIV, MVT::i32, Expand); |