Set an operation expansion, noticed while running
authorEli Friedman <eli.friedman@gmail.com>
Fri, 17 Jul 2009 05:23:03 +0000 (05:23 +0000)
committerEli Friedman <eli.friedman@gmail.com>
Fri, 17 Jul 2009 05:23:03 +0000 (05:23 +0000)
llc over test/CodeGen/Generic with -march=alpha.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76154 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/Alpha/AlphaISelLowering.cpp

index 9097a8a9de7bb673bc87b2555e664b68a67b231f..92bfa915baeac63927b39cda67203c0c7f279de9 100644 (file)
@@ -64,6 +64,8 @@ AlphaTargetLowering::AlphaTargetLowering(TargetMachine &TM) : TargetLowering(TM)
   setLoadExtAction(ISD::SEXTLOAD, MVT::i8,  Expand);
   setLoadExtAction(ISD::SEXTLOAD, MVT::i16, Expand);
 
+  setTruncStoreAction(MVT::f64, MVT::f32, Expand);
+
   //  setOperationAction(ISD::BRIND,        MVT::Other,   Expand);
   setOperationAction(ISD::BR_JT,        MVT::Other, Expand);
   setOperationAction(ISD::BR_CC,        MVT::Other, Expand);