[PATCH] D144927: [GVNHoist] don't hoist callbr users into the callbr's block
Nick Desaulniers via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 9 10:24:55 PST 2023
nickdesaulniers updated this revision to Diff 503834.
nickdesaulniers added a comment.
This revision is now accepted and ready to land.
- scan the operand list rather than the users list (assume that's shorter), as per @hiraditya
- update comment about terminators that produce values
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D144927/new/
https://reviews.llvm.org/D144927
Files:
llvm/lib/Transforms/Scalar/GVNHoist.cpp
llvm/test/Transforms/GVNHoist/hoist-call.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D144927.503834.patch
Type: text/x-patch
Size: 8063 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230309/9df2c19f/attachment.bin>
More information about the llvm-commits
mailing list