1 ; RUN: llc -filetype=obj %s -o - | obj2yaml | FileCheck %s
3 target triple = "wasm32-unknown-unknown"
6 ; CHECK-NEXT: Functions:
7 ; CHECK-NEXT: - Index: 0
9 ; CHECK-NEXT: Body: 41002802FFFFFFFF0F0B
10 define i32 @load_i32_from_negative_address() {
11 %t = load i32, i32* inttoptr (i32 -1 to i32*)
15 ; CHECK-NEXT: - Index: 1
17 ; CHECK-NEXT: Body: 41002802030B
18 define i32 @load_i32_from_wrapped_address() {
19 %t = load i32, i32* inttoptr (i32 4294967299 to i32*)