15 lines · plain
1// RUN: cir-translate -cir-to-llvmir --disable-cc-lowering -o %t.ll %s2// RUN: FileCheck -check-prefix=LLVM --input-file=%t.ll %s3 4!s32i = !cir.int<s, 32>5 6module {7 cir.func @lower_poison() -> !s32i {8 %0 = cir.const #cir.poison : !s32i9 cir.return %0 : !s32i10 }11 // LLVM-LABEL: @lower_poison12 // LLVM-NEXT: ret i32 poison13 // LLVM-NEXT: }14}15