[llvm] [ConstraintElimination] Add support for UCMP/SCMP intrinsics (PR #97974)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 8 03:33:59 PDT 2024


================
@@ -0,0 +1,110 @@
+; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
+; RUN: opt -passes=constraint-elimination -S %s | FileCheck %s
+
+define i8 @scmp_1(i32 %x, i32 %y) {
+; CHECK-LABEL: @scmp_1(
----------------
fhahn wrote:

Could. you also add some negative tests?

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


More information about the llvm-commits mailing list