summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorAmara Emerson <aemerson@apple.com>2018-12-20 03:27:42 +0000
committerAmara Emerson <aemerson@apple.com>2018-12-20 03:27:42 +0000
commit321bfb210a2d5a6da659e74715d83c7b2dc752eb (patch)
tree3c5f903c635edabdd2fffdf5ceb6c8d7f7fa1ef2 /llvm/lib
parent21ea152b4cc26ea36348d766db75ee982a663fb6 (diff)
downloadbcm5719-llvm-321bfb210a2d5a6da659e74715d83c7b2dc752eb.tar.gz
bcm5719-llvm-321bfb210a2d5a6da659e74715d83c7b2dc752eb.zip
Fix build errors introduced by r349712 on aarch64 bots.
llvm-svn: 349723
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/AArch64/AArch64InstructionSelector.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/Target/AArch64/AArch64InstructionSelector.cpp b/llvm/lib/Target/AArch64/AArch64InstructionSelector.cpp
index cbb2e5c39d3..5eb589bf66d 100644
--- a/llvm/lib/Target/AArch64/AArch64InstructionSelector.cpp
+++ b/llvm/lib/Target/AArch64/AArch64InstructionSelector.cpp
@@ -1625,10 +1625,9 @@ bool AArch64InstructionSelector::selectMergeValues(
.addImm(0)
.addUse(I.getOperand(2).getReg())
.addImm(AArch64::sub_32);
- unsigned BFMDef = MRI.createVirtualRegister(DstRC);
MachineInstr &BFM =
*BuildMI(*I.getParent(), I, I.getDebugLoc(), TII.get(AArch64::BFMXri))
- .addDef(BFMDef)
+ .addDef(I.getOperand(0).getReg())
.addUse(SubToRegDef)
.addUse(SubToRegDef2)
.addImm(32)
OpenPOWER on IntegriCloud