[PATCH] D144671: [InstCombine] prevent miscompiles from select-of-div/rem transform
Sanjay Patel via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 28 09:18:14 PST 2023
spatel updated this revision to Diff 501175.
spatel marked an inline comment as done.
spatel added a comment.
Patch updated:
Add restriction to freeze creation for unsigned ops because they are easier to determine as safe.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D144671/new/
https://reviews.llvm.org/D144671
Files:
llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
llvm/test/Transforms/InstCombine/select-divrem.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D144671.501175.patch
Type: text/x-patch
Size: 5606 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230228/fbd8519f/attachment.bin>
More information about the llvm-commits
mailing list