[PATCH] D81587: [GlobalISel] Add missing properties to G_BRINDIRECT, G_BRJT

Dominik Montada via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 11 01:15:22 PDT 2020


gargaroff updated this revision to Diff 270054.
gargaroff added a comment.
Herald added subscribers: s.egerton, simoncook.

Add tests to test/MachineVerifier

The tests use RISCV's implementation of analyzeBranch, which relies on MCInstrDesc. Without the fix applied to G_BRJT, G_BRINDIRECT, those two tests crash.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D81587/new/

https://reviews.llvm.org/D81587

Files:
  llvm/include/llvm/Target/GenericOpcodes.td
  llvm/test/CodeGen/AArch64/GlobalISel/legalize-blockaddress.mir
  llvm/test/CodeGen/AArch64/GlobalISel/select-blockaddress.mir
  llvm/test/MachineVerifier/test_g_brindirect_is_indirect_branch.mir
  llvm/test/MachineVerifier/test_g_brjt_is_indirect_branch.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D81587.270054.patch
Type: text/x-patch
Size: 4540 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200611/e0ad4e89/attachment.bin>


More information about the llvm-commits mailing list