R600/SI: Implement fp32<->fp64 conversions

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187988 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Niels Ole Salscheider
2013-08-08 16:06:15 +00:00
parent 7114e2e7cf
commit 014773626d
4 changed files with 27 additions and 2 deletions

View File

@@ -85,6 +85,9 @@ SITargetLowering::SITargetLowering(TargetMachine &TM) :
setLoadExtAction(ISD::SEXTLOAD, MVT::i32, Expand);
setLoadExtAction(ISD::EXTLOAD, MVT::f32, Expand);
setTruncStoreAction(MVT::f64, MVT::f32, Expand);
setOperationAction(ISD::GlobalAddress, MVT::i64, Custom);
setTargetDAGCombine(ISD::SELECT_CC);