diff --git a/test/compile/union.mlir b/test/compile/union.mlir index dba0127..6439e15 100644 --- a/test/compile/union.mlir +++ b/test/compile/union.mlir @@ -43,7 +43,7 @@ gccjit.func exported @main() -> !gccjit.int { %1 = gccjit.bitcast %rv : !union to !struct1 // CHECK: %{{[0-9]+}} = %[[CAST]].genius; %2 = gccjit.access_field %1[1] : !struct1 -> !gccjit.int - %max = gccjit.const #gccjit.int<0xffffffffffffffff> : !gccjit.int + %max = gccjit.const #gccjit.int<-1> : !gccjit.int %eq = gccjit.compare eq (%2 : !gccjit.int, %max : !gccjit.int) : !gccjit.int gccjit.conditional (%eq : !gccjit.int), ^next, ^abort