From aaeadcb6f52906f66c3b8f8a52ffd764087c68e6 Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Mon, 9 Oct 2006 14:13:40 +0000 Subject: [PATCH] expand ISD::EXTLOAD llvm-svn: 30827 --- lib/Target/ARM/ARMISelDAGToDAG.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/Target/ARM/ARMISelDAGToDAG.cpp b/lib/Target/ARM/ARMISelDAGToDAG.cpp index 3f3b949464c..9c64445d395 100644 --- a/lib/Target/ARM/ARMISelDAGToDAG.cpp +++ b/lib/Target/ARM/ARMISelDAGToDAG.cpp @@ -47,6 +47,8 @@ ARMTargetLowering::ARMTargetLowering(TargetMachine &TM) addRegisterClass(MVT::f32, ARM::FPRegsRegisterClass); addRegisterClass(MVT::f64, ARM::DFPRegsRegisterClass); + setLoadXAction(ISD::EXTLOAD, MVT::f32, Expand); + setOperationAction(ISD::SINT_TO_FP, MVT::i32, Custom); setOperationAction(ISD::UINT_TO_FP, MVT::i32, Custom);