[PATCH] D156657: [InstCombine] Fold icmp(constants[x]) when the range of x is given
Hongyu Chen via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 31 07:02:57 PDT 2023
XChy updated this revision to Diff 545637.
XChy retitled this revision from "[ValueTracking][InstCombine] Fold icmp(constants[x]) when the range of x is given" to "[InstCombine] Fold icmp(constants[x]) when the range of x is given".
XChy edited the summary of this revision.
XChy added a comment.
Extends **foldCmpLoadFromIndexedGlobal** to fold.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D156657/new/
https://reviews.llvm.org/D156657
Files:
llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
llvm/test/Transforms/InstCombine/load-cmp.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D156657.545637.patch
Type: text/x-patch
Size: 5031 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230731/8eddf054/attachment.bin>
More information about the llvm-commits
mailing list