[llvm] [InstCombine] Lower flag check pattern to use a bitmask-shift (PR #169557)
Yingwei Zheng via llvm-commits
llvm-commits at lists.llvm.org
Sat Dec 6 07:30:20 PST 2025
================
@@ -0,0 +1,511 @@
+; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --version 6
+; RUN: opt < %s -passes=instcombine -S | FileCheck %s
+
+target datalayout = "n32:64"
+
+define i1 @or_icmp_2(i32 signext noundef %type) {
----------------
dtcxzyw wrote:
```suggestion
define i1 @or_icmp_2(i32 noundef %type) {
```
`signext` only matters in the backend.
https://github.com/llvm/llvm-project/pull/169557
More information about the llvm-commits
mailing list