================
@@ -0,0 +1,32 @@
+// RUN: cir-opt %s -cir-to-llvm -o %t.mlir
+// RUN: FileCheck --input-file=%t.mlir %s
+
+!s32i = !cir.int<s, 32>
+!u32i = !cir.int<u, 32>
+module {
+ cir.func @test_signed() -> !s32i {
+ %0 = cir.const #cir.int<5> : !s32i
+ %1 = cir.const #cir.int<3> : !s32i
+ %2 = cir.cmp3way(%0 : !s32i, %1, #cir.cmp3way_strong_info<strong, lt = -1,
eq = 0, gt = 1>) : !s32i
+ // CHECK: llvm.icmp "slt"
----------------
erichkeane wrote:
I'd like us to elaborate on these quite a bit more, make the check lines cover
a little more context, particularly with the test_float, but with the rest as
well.
https://github.com/llvm/llvm-project/pull/186294
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits