llvm.org GIT mirror llvm / f28e321
[asan] fix tests for the new ABI git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174959 91177308-0d34-0410-b5e6-96231b3b80d8 Kostya Serebryany 6 years ago
2 changed file(s) with 4 addition(s) and 4 deletion(s). Raw diff Collapse all Expand all
99 ; CHECK-NOT: load
1010 ; CHECK: %[[LOAD_ADDR:[^ ]*]] = ptrtoint i32* %a to i64
1111 ; CHECK: lshr i64 %[[LOAD_ADDR]], 3
12 ; CHECK: or i64
12 ; CHECK: {{or|add}}
1313 ; CHECK: %[[LOAD_SHADOW_PTR:[^ ]*]] = inttoptr
1414 ; CHECK: %[[LOAD_SHADOW:[^ ]*]] = load i8* %[[LOAD_SHADOW_PTR]]
1515 ; CHECK: icmp ne i8
4242 ; CHECK-NOT: store
4343 ; CHECK: %[[STORE_ADDR:[^ ]*]] = ptrtoint i32* %a to i64
4444 ; CHECK: lshr i64 %[[STORE_ADDR]], 3
45 ; CHECK: or i64
45 ; CHECK: {{or|add}}
4646 ; CHECK: %[[STORE_SHADOW_PTR:[^ ]*]] = inttoptr
4747 ; CHECK: %[[STORE_SHADOW:[^ ]*]] = load i8* %[[STORE_SHADOW_PTR]]
4848 ; CHECK: icmp ne i8
88 ; CHECK: @read_4_bytes
99 ; CHECK-NOT: ret
1010 ; CHECK: lshr {{.*}} 3
11 ; Check for ASAN's Offset for 64-bit (2^44)
12 ; CHECK-NEXT: 17592186044416
11 ; Check for ASAN's Offset for 64-bit (2^44 or 7fff8000)
12 ; CHECK-NEXT: {{17592186044416|2147450880}}
1313 ; CHECK: ret
1414
1515 define void @example_atomicrmw(i64* %ptr) nounwind uwtable address_safety {