summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/R600/AMDGPUISelLowering.cpp
diff options
context:
space:
mode:
authorJan Vesely <jan.vesely@rutgers.edu>2014-07-10 22:40:21 +0000
committerJan Vesely <jan.vesely@rutgers.edu>2014-07-10 22:40:21 +0000
commit2cb62ce2a0a532a4feac3fa7d17d7452dfb14997 (patch)
tree6294e50171cee88998e8b521a1f6a991f8139de9 /llvm/lib/Target/R600/AMDGPUISelLowering.cpp
parenteca89d283efffa36054f0ecbd88a14b4b8610c71 (diff)
downloadbcm5719-llvm-2cb62ce2a0a532a4feac3fa7d17d7452dfb14997.tar.gz
bcm5719-llvm-2cb62ce2a0a532a4feac3fa7d17d7452dfb14997.zip
R600: Implement float to long/ulong
Use alg. from LegalizeDAG.cpp Move Expand setting to SIISellowering v2: Extend existing tests instead of creating new ones v3: use separate LowerFPTOSINT function v4: use TargetLowering::expandFP_TO_SINT add comment about using FP_TO_SINT for uints Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu> Reviewed-by: Tom Stellard <tom@stellard.net> llvm-svn: 212773
Diffstat (limited to 'llvm/lib/Target/R600/AMDGPUISelLowering.cpp')
-rw-r--r--llvm/lib/Target/R600/AMDGPUISelLowering.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/Target/R600/AMDGPUISelLowering.cpp b/llvm/lib/Target/R600/AMDGPUISelLowering.cpp
index 0ada7a3ed82..97771423567 100644
--- a/llvm/lib/Target/R600/AMDGPUISelLowering.cpp
+++ b/llvm/lib/Target/R600/AMDGPUISelLowering.cpp
@@ -271,7 +271,6 @@ AMDGPUTargetLowering::AMDGPUTargetLowering(TargetMachine &TM) :
setOperationAction(ISD::ROTL, MVT::i64, Expand);
setOperationAction(ISD::ROTR, MVT::i64, Expand);
- setOperationAction(ISD::FP_TO_SINT, MVT::i64, Expand);
setOperationAction(ISD::MUL, MVT::i64, Expand);
setOperationAction(ISD::MULHU, MVT::i64, Expand);
setOperationAction(ISD::MULHS, MVT::i64, Expand);
OpenPOWER on IntegriCloud