[llvm] [llvm][instcombine] Add Missed Optimization for Folding Min Max intrinsic into PHI instruction (PR #84619)
Yingwei Zheng via llvm-commits
llvm-commits at lists.llvm.org
Sat Mar 9 03:36:38 PST 2024
================
@@ -0,0 +1,314 @@
+; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
+; RUN: opt < %s -passes=instcombine -S | FileCheck %s
+
+
+; test phi combine less than (equal)
+define i1 @src0(i32 %a, i32 %b, i1 %c) #0 {
----------------
dtcxzyw wrote:
```suggestion
define i1 @src0(i32 %a, i32 %b, i1 %c) {
```
Please remove unused attributes/metadata.
https://github.com/llvm/llvm-project/pull/84619
More information about the llvm-commits
mailing list