[all-commits] [llvm/llvm-project] 019d76: [InstSimplify] use isImpliedCondition() instead of...
Sanjay Patel via All-commits
all-commits at lists.llvm.org
Fri Aug 5 08:04:37 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 019d76196f79fcff3c148d0163786f9cce70a023
https://github.com/llvm/llvm-project/commit/019d76196f79fcff3c148d0163786f9cce70a023
Author: Sanjay Patel <spatel at rotateright.com>
Date: 2022-08-05 (Fri, 05 Aug 2022)
Changed paths:
M llvm/lib/Analysis/InstructionSimplify.cpp
M llvm/test/Transforms/InstSimplify/and-icmps-same-ops.ll
M llvm/test/Transforms/InstSimplify/or-icmps-same-ops.ll
Log Message:
-----------
[InstSimplify] use isImpliedCondition() instead of semi-duplicated code
We get a couple of improvements from recognizing swapped
operand patterns that were not handled by the replicated
code.
This should also enable simplifying larger patterns as
seen in issue #56653 and issue #56654, but that requires
enhancements to isImpliedCondition() itself.
More information about the All-commits
mailing list