diff options
author | Chris Lattner <sabre@nondot.org> | 2006-01-29 06:25:22 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-01-29 06:25:22 +0000 |
commit | b5f0ba6051cdcfef886b7eadeee0015c0747a8f9 (patch) | |
tree | 7d166ffdfe044348b13abd6c76183f40373ec36b /llvm/lib/Target/Alpha/AlphaISelLowering.cpp | |
parent | 9b60714b2a8c29bace1c8533defceb750d081350 (diff) | |
download | bcm5719-llvm-b5f0ba6051cdcfef886b7eadeee0015c0747a8f9.tar.gz bcm5719-llvm-b5f0ba6051cdcfef886b7eadeee0015c0747a8f9.zip |
Update alpha to reflect recent constantfp legalize changes. It's not clear
why all this code isn't autogenerated. :(
llvm-svn: 25770
Diffstat (limited to 'llvm/lib/Target/Alpha/AlphaISelLowering.cpp')
-rw-r--r-- | llvm/lib/Target/Alpha/AlphaISelLowering.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Target/Alpha/AlphaISelLowering.cpp b/llvm/lib/Target/Alpha/AlphaISelLowering.cpp index 6779b90bd3a..517ffaeab6a 100644 --- a/llvm/lib/Target/Alpha/AlphaISelLowering.cpp +++ b/llvm/lib/Target/Alpha/AlphaISelLowering.cpp @@ -145,6 +145,8 @@ AlphaTargetLowering::AlphaTargetLowering(TargetMachine &TM) : TargetLowering(TM) setStackPointerRegisterToSaveRestore(Alpha::R30); + setOperationAction(ISD::ConstantFP, MVT::f64, Expand); + setOperationAction(ISD::ConstantFP, MVT::f32, Expand); addLegalFPImmediate(+0.0); //F31 addLegalFPImmediate(-0.0); //-F31 |