[llvm] [CVP] Canonicalize signed minmax into unsigned (PR #82478)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 22 07:52:27 PST 2024


================
@@ -1,5 +1,6 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -passes=correlated-propagation -S | FileCheck %s
+; RUN: opt < %s -passes=correlated-propagation -S | FileCheck %s --check-prefixes=CHECK,CHECK-CANONICALIZE-ON
+; RUN: opt < %s -passes=correlated-propagation -canonicalize-icmp-predicates-to-unsigned=false -S | FileCheck %s --check-prefixes=CHECK,CHECK-CANONICALIZE-OFF
----------------
nikic wrote:

Please remove the `-canonicalize-icmp-predicates-to-unsigned=false` check lines, we don't care about this. Feel free to remove the option in a followup.

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


More information about the llvm-commits mailing list