brintos

brintos / llvm-project-archived public Read only

0
0
Text · 937 B · c2cb8c7 Raw
26 lines · plain
1; RUN: llc -mtriple=x86_64-linux-gnu < %s | FileCheck %s --check-prefix=CHECK642; RUN: llc -mtriple=i686-linux-gnu < %s | FileCheck %s --check-prefix=CHECK323 4define i32 @main(i32 %x) nounwind gc "erlang" {5  %puts = tail call i32 @foo(i32 %x)6  ret i32 07 8; CHECK64:      .section  .note.gc,"",@progbits9; CHECK64-NEXT: .p2align 310; CHECK64-NEXT: .short 1      # safe point count11; CHECK64-NEXT: .long  .Ltmp0 # safe point address12; CHECK64-NEXT: .short 1      # stack frame size (in words)13; CHECK64-NEXT: .short 0      # stack arity14; CHECK64-NEXT: .short 0      # live root count15 16; CHECK32:      .section  .note.gc,"",@progbits17; CHECK32-NEXT: .p2align 218; CHECK32-NEXT: .short 1      # safe point count19; CHECK32-NEXT: .long  .Ltmp0 # safe point address20; CHECK32-NEXT: .short 3      # stack frame size (in words)21; CHECK32-NEXT: .short 0      # stack arity22; CHECK32-NEXT: .short 0      # live root count23}24 25declare i32 @foo(i32)26