[llvm] [ConstraintElim] Decompose sext-like insts for signed predicates (PR #82344)

Yingwei Zheng via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 20 08:47:40 PST 2024


================
@@ -507,6 +507,13 @@ static Decomposition decompose(Value *V,
     }
     Value *Op0;
     Value *Op1;
+
+    if (match(V, m_SExt(m_Value(Op0))))
+      return Op0;
----------------
dtcxzyw wrote:

Done.

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


More information about the llvm-commits mailing list