[llvm] [ConstantValuePropagation] Fold calls to UCMP/SCMP when we know that ranges of operands do not overlap (PR #97235)

Yingwei Zheng via llvm-commits llvm-commits at lists.llvm.org
Sun Jun 30 21:39:10 PDT 2024


================
@@ -0,0 +1,118 @@
+; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
+; RUN: opt < %s -passes=correlated-propagation -S | FileCheck %s
+
+; If nothing is known we can't change anything
+define i8 @ucmp_0(i32 %x, i32 %y) {
----------------
dtcxzyw wrote:

Missing check lines.


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


More information about the llvm-commits mailing list