Skip to content

Commit

Permalink
workaround large integer error for now
Browse files Browse the repository at this point in the history
  • Loading branch information
SchrodingerZhu committed Nov 15, 2024
1 parent 15e10d5 commit d5fe1ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/compile/union.mlir
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ gccjit.func exported @main() -> !gccjit.int<int> {
%1 = gccjit.bitcast %rv : !union to !struct1
// CHECK: %{{[0-9]+}} = %[[CAST]].genius;
%2 = gccjit.access_field %1[1] : !struct1 -> !gccjit.int<unsigned long>
%max = gccjit.const #gccjit.int<0xffffffffffffffff> : !gccjit.int<unsigned long>
%max = gccjit.const #gccjit.int<-1> : !gccjit.int<unsigned long>
%eq = gccjit.compare eq (%2 : !gccjit.int<unsigned long>, %max : !gccjit.int<unsigned long>) : !gccjit.int<bool>
gccjit.conditional (%eq : !gccjit.int<bool>), ^next, ^abort

Expand Down

0 comments on commit d5fe1ff

Please sign in to comment.