diff options
author | Eric Christopher <echristo@apple.com> | 2010-09-28 21:55:34 +0000 |
---|---|---|
committer | Eric Christopher <echristo@apple.com> | 2010-09-28 21:55:34 +0000 |
commit | 953b1afd5f9bedea3d180c71792dbb285d031a27 (patch) | |
tree | 3d518a94d0b73deed9fac7f68434b1cb347785fe /llvm/lib/Target/ARM/ARMFastISel.cpp | |
parent | 7d9120c3ed1e4bb5c5171a3d8fb4ce68fc626cd1 (diff) | |
download | bcm5719-llvm-953b1afd5f9bedea3d180c71792dbb285d031a27.tar.gz bcm5719-llvm-953b1afd5f9bedea3d180c71792dbb285d031a27.zip |
Integer materialization needed the same thinko change.
llvm-svn: 114994
Diffstat (limited to 'llvm/lib/Target/ARM/ARMFastISel.cpp')
-rw-r--r-- | llvm/lib/Target/ARM/ARMFastISel.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/lib/Target/ARM/ARMFastISel.cpp b/llvm/lib/Target/ARM/ARMFastISel.cpp index 639a2051d04..6665704e290 100644 --- a/llvm/lib/Target/ARM/ARMFastISel.cpp +++ b/llvm/lib/Target/ARM/ARMFastISel.cpp @@ -417,13 +417,13 @@ unsigned ARMFastISel::ARMMaterializeInt(const Constant *C) { if (isThumb) AddOptionalDefs(BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DL, - TII.get(ARM::t2LDRpci)) - .addReg(DestReg).addConstantPoolIndex(Idx)); + TII.get(ARM::t2LDRpci), DestReg) + .addConstantPoolIndex(Idx)); else // The extra reg and immediate are for addrmode2. AddOptionalDefs(BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DL, - TII.get(ARM::LDRcp)) - .addReg(DestReg).addConstantPoolIndex(Idx) + TII.get(ARM::LDRcp), DestReg) + .addConstantPoolIndex(Idx) .addReg(0).addImm(0)); return DestReg; |