[llvm-commits] [llvm] r76149 - /llvm/trunk/lib/Target/Mips/MipsISelLowering.cpp
Eli Friedman
eli.friedman at gmail.com
Thu Jul 16 21:07:36 PDT 2009
Author: efriedma
Date: Thu Jul 16 23:07:24 2009
New Revision: 76149
URL: http://llvm.org/viewvc/llvm-project?rev=76149&view=rev
Log:
One more operation expansion for MIPS, from test/CodeGen/Generic.
Modified:
llvm/trunk/lib/Target/Mips/MipsISelLowering.cpp
Modified: llvm/trunk/lib/Target/Mips/MipsISelLowering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Mips/MipsISelLowering.cpp?rev=76149&r1=76148&r2=76149&view=diff
==============================================================================
--- llvm/trunk/lib/Target/Mips/MipsISelLowering.cpp (original)
+++ llvm/trunk/lib/Target/Mips/MipsISelLowering.cpp Thu Jul 16 23:07:24 2009
@@ -83,8 +83,9 @@
setLoadExtAction(ISD::ZEXTLOAD, MVT::i1, Promote);
setLoadExtAction(ISD::SEXTLOAD, MVT::i1, Promote);
- // MIPS doesn't have extending float->double load (?)
+ // MIPS doesn't have extending float->double load/store
setLoadExtAction(ISD::EXTLOAD, MVT::f32, Expand);
+ setTruncStoreAction(MVT::f64, MVT::f32, Expand);
// Used by legalize types to correctly generate the setcc result.
// Without this, every float setcc comes with a AND/OR with the result,
More information about the llvm-commits
mailing list