[llvm] [InstCombine] Simplify compare abs(X) and X. (PR #76385)

Yingwei Zheng via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 29 04:41:24 PST 2023


================
@@ -7109,6 +7109,47 @@ Instruction *InstCombinerImpl::visitICmpInst(ICmpInst &I) {
     }
   }
 
+  {
----------------
dtcxzyw wrote:

Describe the transform in the header comments.


https://github.com/llvm/llvm-project/pull/76385


More information about the llvm-commits mailing list