aboutsummaryrefslogtreecommitdiff
path: root/llvm/test/Instrumentation/AddressSanitizer/program-addrspace.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/Instrumentation/AddressSanitizer/program-addrspace.ll')
-rw-r--r--llvm/test/Instrumentation/AddressSanitizer/program-addrspace.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/Instrumentation/AddressSanitizer/program-addrspace.ll b/llvm/test/Instrumentation/AddressSanitizer/program-addrspace.ll
index adfe211..1d5bfb0 100644
--- a/llvm/test/Instrumentation/AddressSanitizer/program-addrspace.ll
+++ b/llvm/test/Instrumentation/AddressSanitizer/program-addrspace.ll
@@ -16,7 +16,7 @@ target datalayout = "P1"
define i1 @b(i64 %c) addrspace(1) {
%cast = inttoptr i64 %c to ptr addrspace(42)
- %cmp = icmp ugt ptr addrspace(42) %cast, getelementptr inbounds ([1 x i32], ptr addrspace(42) @a, i64 0, i64 0)
+ %cmp = icmp ugt ptr addrspace(42) %cast, @a
ret i1 %cmp
}