aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/R600/codegen-prepare-addrmode-sext.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/R600/codegen-prepare-addrmode-sext.ll')
-rw-r--r--test/CodeGen/R600/codegen-prepare-addrmode-sext.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/R600/codegen-prepare-addrmode-sext.ll b/test/CodeGen/R600/codegen-prepare-addrmode-sext.ll
index e16a397..0aecc18 100644
--- a/test/CodeGen/R600/codegen-prepare-addrmode-sext.ll
+++ b/test/CodeGen/R600/codegen-prepare-addrmode-sext.ll
@@ -14,7 +14,7 @@ define void @test(i8 addrspace(1)* nocapture readonly %in, i32 %a, i8 %b) {
entry:
%0 = mul nsw i32 %a, 3
%1 = sext i32 %0 to i64
- %2 = getelementptr i8 addrspace(1)* %in, i64 %1
+ %2 = getelementptr i8, i8 addrspace(1)* %in, i64 %1
store i8 %b, i8 addrspace(1)* %2
ret void
}