[PATCH] D141188: [MergeICmps] Adapt to non-eq comparisons
Allen zhong via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon May 15 20:01:55 PDT 2023
Allen added a comment.
Thanks for your analysis. The bug is brought by the following code in function mergeComparisons.
As the comparisons is reorded according the memory offset (https://reviews.llvm.org/D149542), so the origin last comparison BB may be not the Comparisons[Comparisons.size() - 1].BB
BasicBlock *const TailBB = Comparisons[Comparisons.size() - 1].BB;
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D141188/new/
https://reviews.llvm.org/D141188
More information about the llvm-commits
mailing list