diff options
author | Manman Ren <manman.ren@gmail.com> | 2013-10-15 19:42:32 +0000 |
---|---|---|
committer | Manman Ren <manman.ren@gmail.com> | 2013-10-15 19:42:32 +0000 |
commit | 05ac87f864a34bff0e6f2a029d48eab3e4cb464a (patch) | |
tree | 9eb7972b770669bd873ca7957b449c170088fdfa /lib | |
parent | bfa7b1e6955ce3cc83214c253696470cef6db179 (diff) | |
download | external_llvm-05ac87f864a34bff0e6f2a029d48eab3e4cb464a.zip external_llvm-05ac87f864a34bff0e6f2a029d48eab3e4cb464a.tar.gz external_llvm-05ac87f864a34bff0e6f2a029d48eab3e4cb464a.tar.bz2 |
Struct byval: fix a copy-paste error for thumb2.
PR17309
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@192730 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Target/ARM/ARMISelLowering.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/ARM/ARMISelLowering.cpp b/lib/Target/ARM/ARMISelLowering.cpp index 03ca199..b4163c5 100644 --- a/lib/Target/ARM/ARMISelLowering.cpp +++ b/lib/Target/ARM/ARMISelLowering.cpp @@ -7364,7 +7364,7 @@ EmitStructByval(MachineInstr *MI, MachineBasicBlock *BB) const { AddDefaultPred(BuildMI(*BB, MI, dl, TII->get(strOpc), destOut) .addReg(scratch).addReg(destIn) - .addReg(0).addImm(1)); + .addImm(1)); } else { AddDefaultPred(BuildMI(*BB, MI, dl, TII->get(ldrOpc),scratch) |