[PATCH] Expand BuildPairF64 by spilling to stack slot and reloading from it
Daniel Sanders
daniel.sanders at imgtec.com
Fri Jul 11 08:28:10 PDT 2014
================
Comment at: lib/Target/Mips/MipsSEFrameLowering.cpp:300-301
@@ +299,4 @@
+ RC2->getAlignment(), false);
+ TII.storeRegToStack(MBB, I, LoReg, true, FI, RC, &TRI, 0);
+ TII.storeRegToStack(MBB, I, HiReg, true, FI, RC, &TRI, 4);
+ TII.loadRegFromStack(MBB, I, DstReg, FI, RC2, &TRI, 0);
----------------
Daniel Sanders wrote:
> The 0 and 4 need to be the other way around for big-endian.
Also, LoReg and HiReg might not be killed in all cases. Query the operand with I->getOperand(1).isKill().
http://reviews.llvm.org/D4465
More information about the llvm-commits
mailing list