[PATCH] D139970: [llvm][CallBrPrepare] use SSAUpdater to use intrinsic value

Nick Desaulniers via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 15 17:05:07 PST 2022


nickdesaulniers updated this revision to Diff 483394.
nickdesaulniers marked 3 inline comments as done.
nickdesaulniers added a comment.

- fix inf loop from revisiting uses with SSAUpdater
- reinstantiate CallInst* to CallBrInst* mapping per function run
- use reference rather than ptr
- use Use::set rather than SSAUpdater for simple case


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D139970

Files:
  llvm/lib/CodeGen/CallBrPrepare.cpp
  llvm/test/CodeGen/AArch64/callbr-prepare.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D139970.483394.patch
Type: text/x-patch
Size: 12729 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221216/ab7f5130/attachment.bin>


More information about the llvm-commits mailing list