[PATCH] D60136: [RISCV] Implement adding a displacement to a BlockAddress

Roger Ferrer Ibanez via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 2 09:04:14 PDT 2019


rogfer01 created this revision.
rogfer01 added reviewers: asb, lewis-revill, jrtc27.
Herald added subscribers: llvm-commits, benna, psnobl, jocewei, PkmX, rkruppe, the_o, brucehoult, MartinMosbeck, edward-jones, zzheng, shiva0217, kito-cheng, niosHD, sabuasal, apazos, simoncook, johnrusso, rbar.
Herald added a project: LLVM.

Recent change rL357393 <https://reviews.llvm.org/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.


Repository:
  rL LLVM

https://reviews.llvm.org/D60136

Files:
  include/llvm/CodeGen/MachineInstrBuilder.h
  test/CodeGen/RISCV/codemodel-lowering.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D60136.193308.patch
Type: text/x-patch
Size: 4557 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190402/d2af20d8/attachment.bin>


More information about the llvm-commits mailing list