Changes in directory llvm/lib/Target/ARM:
ARMInstrVFP.td updated: 1.2 -> 1.3 --- Log message: Evan's patch to avoid FPreg->intreg copy for cvt; store to mem --- Diffs of the changes: (+5 -0) ARMInstrVFP.td | 5 +++++ 1 files changed, 5 insertions(+) Index: llvm/lib/Target/ARM/ARMInstrVFP.td diff -u llvm/lib/Target/ARM/ARMInstrVFP.td:1.2 llvm/lib/Target/ARM/ARMInstrVFP.td:1.3 --- llvm/lib/Target/ARM/ARMInstrVFP.td:1.2 Wed May 2 19:32:00 2007 +++ llvm/lib/Target/ARM/ARMInstrVFP.td Thu May 3 15:54:42 2007 @@ -78,6 +78,11 @@ [(store SPR:$src, addrmode5:$addr)]>; } // isStore +// avoid copying result of FTOUIZ to int reg when we're just storing it +let AddedComplexity = 1 in +def : ARMPat<(store (i32 (bitconvert SPR:$src)), addrmode5:$addr), + (FSTS SPR:$src, addrmode5:$addr)>; + //===----------------------------------------------------------------------===// // Load / store multiple Instructions. // _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits