[PATCH] D65352: [CodeGen] Require a name for a block addr target

Bill Wendling via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 7 17:56:10 PDT 2019


void updated this revision to Diff 214045.
void added a comment.

It's not enough to just check that a BB's address is used by a callbr, since
the value doesn't have to be directly used by it. E.g., it could be stored into
memory and then loaded.


Repository:
  rL LLVM

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

https://reviews.llvm.org/D65352

Files:
  lib/CodeGen/MachineModuleInfo.cpp
  test/CodeGen/AArch64/callbr-asm-obj-file.ll
  test/CodeGen/X86/callbr-asm-obj-file.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D65352.214045.patch
Type: text/x-patch
Size: 4991 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190808/1d17bfef/attachment.bin>


More information about the llvm-commits mailing list