diff options
Diffstat (limited to 'test/CodeGen/AArch64/arm64-basic-pic.ll')
-rw-r--r-- | test/CodeGen/AArch64/arm64-basic-pic.ll | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/CodeGen/AArch64/arm64-basic-pic.ll b/test/CodeGen/AArch64/arm64-basic-pic.ll index 9fdb1e9..e11274e 100644 --- a/test/CodeGen/AArch64/arm64-basic-pic.ll +++ b/test/CodeGen/AArch64/arm64-basic-pic.ll @@ -5,7 +5,7 @@ define i32 @get_globalvar() { ; CHECK-LABEL: get_globalvar: - %val = load i32* @var + %val = load i32, i32* @var ; CHECK: adrp x[[GOTHI:[0-9]+]], :got:var ; CHECK: ldr x[[GOTLOC:[0-9]+]], [x[[GOTHI]], :got_lo12:var] ; CHECK: ldr w0, [x[[GOTLOC]]] @@ -16,7 +16,7 @@ define i32 @get_globalvar() { define i32* @get_globalvaraddr() { ; CHECK-LABEL: get_globalvaraddr: - %val = load i32* @var + %val = load i32, i32* @var ; CHECK: adrp x[[GOTHI:[0-9]+]], :got:var ; CHECK: ldr x0, [x[[GOTHI]], :got_lo12:var] @@ -28,7 +28,7 @@ define i32* @get_globalvaraddr() { define i32 @get_hiddenvar() { ; CHECK-LABEL: get_hiddenvar: - %val = load i32* @hiddenvar + %val = load i32, i32* @hiddenvar ; CHECK: adrp x[[HI:[0-9]+]], hiddenvar ; CHECK: ldr w0, [x[[HI]], :lo12:hiddenvar] @@ -38,7 +38,7 @@ define i32 @get_hiddenvar() { define i32* @get_hiddenvaraddr() { ; CHECK-LABEL: get_hiddenvaraddr: - %val = load i32* @hiddenvar + %val = load i32, i32* @hiddenvar ; CHECK: adrp [[HI:x[0-9]+]], hiddenvar ; CHECK: add x0, [[HI]], :lo12:hiddenvar |