X-Git-Url: http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=blobdiff_plain;f=test%2FMC%2FMachO%2FAArch64%2Fcstexpr-gotpcrel.ll;h=b52a5abecab2397fa696128b7e65259aa0536d51;hp=3169dac7a3fbde3e66d2e5a7f52bda3fb6ac47b8;hb=5a70dd1d8286faa4713b60da7621094d892e2ffc;hpb=300c79d840829969fba278ee59152fbfbd5c8844 diff --git a/test/MC/MachO/AArch64/cstexpr-gotpcrel.ll b/test/MC/MachO/AArch64/cstexpr-gotpcrel.ll index 3169dac7a3f..b52a5abecab 100644 --- a/test/MC/MachO/AArch64/cstexpr-gotpcrel.ll +++ b/test/MC/MachO/AArch64/cstexpr-gotpcrel.ll @@ -32,7 +32,7 @@ ; CHECK-NEXT: .long _localfoo@GOT-Ltmp1 %struct.data { i32 4, %struct.anon { i32 5, i32 trunc (i64 sub (i64 ptrtoint (i32** @localgotequiv to i64), - i64 ptrtoint (i32* getelementptr inbounds ([4 x %struct.data]* @table, i32 0, i64 1, i32 1, i32 1) to i64)) + i64 ptrtoint (i32* getelementptr inbounds ([4 x %struct.data], [4 x %struct.data]* @table, i32 0, i64 1, i32 1, i32 1) to i64)) to i32)} }, @@ -42,7 +42,7 @@ ; CHECK-NEXT: _extfoo@GOT-Ltmp2 %struct.data { i32 4, %struct.anon { i32 5, i32 trunc (i64 sub (i64 ptrtoint (i32** @extgotequiv to i64), - i64 ptrtoint (i32* getelementptr inbounds ([4 x %struct.data]* @table, i32 0, i64 2, i32 1, i32 1) to i64)) + i64 ptrtoint (i32* getelementptr inbounds ([4 x %struct.data], [4 x %struct.data]* @table, i32 0, i64 2, i32 1, i32 1) to i64)) to i32)} }, ; Test support for arbitrary constants into the GOTPCREL offset, which is @@ -52,7 +52,7 @@ ; CHECK-NEXT: .long (l_extgotequiv-(_table+44))+24 %struct.data { i32 4, %struct.anon { i32 5, i32 add (i32 trunc (i64 sub (i64 ptrtoint (i32** @extgotequiv to i64), - i64 ptrtoint (i32* getelementptr inbounds ([4 x %struct.data]* @table, i32 0, i64 3, i32 1, i32 1) to i64)) + i64 ptrtoint (i32* getelementptr inbounds ([4 x %struct.data], [4 x %struct.data]* @table, i32 0, i64 3, i32 1, i32 1) to i64)) to i32), i32 24)} } ], align 16