aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/Generic/2014-02-05-OpaqueConstants.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/Generic/2014-02-05-OpaqueConstants.ll')
-rw-r--r--test/CodeGen/Generic/2014-02-05-OpaqueConstants.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/Generic/2014-02-05-OpaqueConstants.ll b/test/CodeGen/Generic/2014-02-05-OpaqueConstants.ll
index 5c1cd05..1497bbb 100644
--- a/test/CodeGen/Generic/2014-02-05-OpaqueConstants.ll
+++ b/test/CodeGen/Generic/2014-02-05-OpaqueConstants.ll
@@ -9,11 +9,11 @@
; Function Attrs: nounwind ssp uwtable
define void @fn() {
store i32* inttoptr (i64 68719476735 to i32*), i32** @a, align 8
- %1 = load i32* @c, align 4
+ %1 = load i32, i32* @c, align 4
%2 = sext i32 %1 to i64
%3 = lshr i64 %2, 12
%4 = and i64 %3, 68719476735
- %5 = getelementptr inbounds i32* null, i64 %4
+ %5 = getelementptr inbounds i32, i32* null, i64 %4
store i32* %5, i32** @b, align 8
ret void
}