[PATCH] D123962: [InstCombine] fold freeze of partial undef/poison vector constants
Sanjay Patel via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 19 05:56:50 PDT 2022
spatel updated this revision to Diff 423600.
spatel added a comment.
Patch updated:
1. Added an explanatory comment for the position of this fold.
2. Added TODO comment for enhancement.
3. Added an assert for "BestValue" (suggested in D84948 <https://reviews.llvm.org/D84948>, but didn't make it in).
These all apply to the existing code, so that could be an NFC pre-commit if preferred.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D123962/new/
https://reviews.llvm.org/D123962
Files:
llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
llvm/test/Transforms/InstCombine/freeze-phi.ll
llvm/test/Transforms/InstCombine/freeze.ll
llvm/test/Transforms/InstCombine/select.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D123962.423600.patch
Type: text/x-patch
Size: 5722 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220419/fb7e29d6/attachment.bin>
More information about the llvm-commits
mailing list