X-Git-Url: http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=blobdiff_plain;f=test%2FMC%2FMachO%2FARM%2Fcstexpr-gotpcrel.ll;h=95d830ccfaa81e83737727a81d4e4f2fde8536b7;hp=f7d988ac8478f8ef2961430dcd938c7062be4f6d;hb=5a70dd1d8286faa4713b60da7621094d892e2ffc;hpb=300c79d840829969fba278ee59152fbfbd5c8844 diff --git a/test/MC/MachO/ARM/cstexpr-gotpcrel.ll b/test/MC/MachO/ARM/cstexpr-gotpcrel.ll index f7d988ac847..95d830ccfaa 100644 --- a/test/MC/MachO/ARM/cstexpr-gotpcrel.ll +++ b/test/MC/MachO/ARM/cstexpr-gotpcrel.ll @@ -35,14 +35,14 @@ ; CHECK-NEXT: L_localfoo$non_lazy_ptr-(_table+20) %struct.data { i32 4, %struct.anon { i32 5, i32 sub (i32 ptrtoint (i32** @localgotequiv to i32), - i32 ptrtoint (i32* getelementptr inbounds ([4 x %struct.data]* @table, i32 0, i32 1, i32 1, i32 1) to i32))} + i32 ptrtoint (i32* getelementptr inbounds ([4 x %struct.data], [4 x %struct.data]* @table, i32 0, i32 1, i32 1, i32 1) to i32))} }, ; CHECK: .long 5 ; CHECK-NOT: l_extgotequiv-(_table+32) ; CHECK-NEXT: L_extfoo$non_lazy_ptr-(_table+32) %struct.data { i32 4, %struct.anon { i32 5, i32 sub (i32 ptrtoint (i32** @extgotequiv to i32), - i32 ptrtoint (i32* getelementptr inbounds ([4 x %struct.data]* @table, i32 0, i32 2, i32 1, i32 1) to i32))} + i32 ptrtoint (i32* getelementptr inbounds ([4 x %struct.data], [4 x %struct.data]* @table, i32 0, i32 2, i32 1, i32 1) to i32))} }, ; Test support for arbitrary constants into the GOTPCREL offset ; CHECK: .long 5 @@ -50,7 +50,7 @@ ; CHECK-NEXT: L_extfoo$non_lazy_ptr-(_table+20) %struct.data { i32 4, %struct.anon { i32 5, i32 add (i32 sub (i32 ptrtoint (i32** @extgotequiv to i32), - i32 ptrtoint (i32* getelementptr inbounds ([4 x %struct.data]* @table, i32 0, i32 3, i32 1, i32 1) to i32)), + i32 ptrtoint (i32* getelementptr inbounds ([4 x %struct.data], [4 x %struct.data]* @table, i32 0, i32 3, i32 1, i32 1) to i32)), i32 24)} } ], align 16