Recent change rL357393 uses MachineInstrBuilder::addDisp to add a based on a BlockAddress but this case was not implemented.
This patch adds the missing case and a test for RISC-V that exercises the new case.
Paths
| Differential D60136
[RISCV] Implement adding a displacement to a BlockAddress ClosedPublic Authored by rogfer01 on Apr 2 2019, 9:03 AM.
Details Summary Recent change rL357393 uses MachineInstrBuilder::addDisp to add a based on a BlockAddress but this case was not implemented. This patch adds the missing case and a test for RISC-V that exercises the new case.
Diff Detail Event TimelineComment Actions Thanks, I didn't realise this was the case.
This revision is now accepted and ready to land.Apr 4 2019, 6:15 AM Closed by commit rL357752: [RISCV] Implement adding a displacement to a BlockAddress (authored by rogfer01). · Explain WhyApr 5 2019, 1:39 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 193308 include/llvm/CodeGen/MachineInstrBuilder.h
test/CodeGen/RISCV/codemodel-lowering.ll
|
Is this phi node necessary for the test?