X-Git-Url: http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=blobdiff_plain;f=test%2FCodeGen%2FAArch64%2Farm64-fast-isel-addr-offset.ll;h=e4dc948c460361fcd1869292a0d5d1ab9b821e4f;hp=d81bc7cee11418f95b6e9e01f414dbaa4e69fdfd;hb=5a70dd1d8286faa4713b60da7621094d892e2ffc;hpb=5d6365c80c58b2f544eb1d927875d07f46e59a26 diff --git a/test/CodeGen/AArch64/arm64-fast-isel-addr-offset.ll b/test/CodeGen/AArch64/arm64-fast-isel-addr-offset.ll index d81bc7cee11..e4dc948c460 100644 --- a/test/CodeGen/AArch64/arm64-fast-isel-addr-offset.ll +++ b/test/CodeGen/AArch64/arm64-fast-isel-addr-offset.ll @@ -1,4 +1,4 @@ -; RUN: llc -O0 -fast-isel-abort -verify-machineinstrs -mtriple=arm64-apple-darwin < %s | FileCheck %s +; RUN: llc -O0 -fast-isel-abort=1 -verify-machineinstrs -mtriple=arm64-apple-darwin < %s | FileCheck %s @sortlist = common global [5001 x i32] zeroinitializer, align 16 @sortlist2 = common global [5001 x i64] zeroinitializer, align 16 @@ -13,7 +13,7 @@ entry: ; CHECK: add x[[REG3:[0-9]+]], x[[REG1]], x[[REG2]] ; CHECK: ldr w0, [x[[REG3]]] ; CHECK: ret - %0 = load i32* getelementptr inbounds ([5001 x i32]* @sortlist, i32 0, i64 5000), align 4 + %0 = load i32, i32* getelementptr inbounds ([5001 x i32], [5001 x i32]* @sortlist, i32 0, i64 5000), align 4 ret i32 %0 } @@ -26,7 +26,7 @@ entry: ; CHECK: add x[[REG3:[0-9]+]], x[[REG1]], x[[REG2]] ; CHECK: ldr x0, [x[[REG3]]] ; CHECK: ret - %0 = load i64* getelementptr inbounds ([5001 x i64]* @sortlist2, i32 0, i64 5000), align 4 + %0 = load i64, i64* getelementptr inbounds ([5001 x i64], [5001 x i64]* @sortlist2, i32 0, i64 5000), align 4 ret i64 %0 } @@ -40,8 +40,8 @@ entry: ; CHECK: movz x[[REG:[0-9]+]], #0xb3a, lsl #32 ; CHECK: movk x[[REG]], #0x73ce, lsl #16 ; CHECK: movk x[[REG]], #0x2ff2 - %0 = load i8** @pd2, align 8 - %arrayidx = getelementptr inbounds i8* %0, i64 12345678901234 - %1 = load i8* %arrayidx, align 1 + %0 = load i8*, i8** @pd2, align 8 + %arrayidx = getelementptr inbounds i8, i8* %0, i64 12345678901234 + %1 = load i8, i8* %arrayidx, align 1 ret i8 %1 }