aboutsummaryrefslogtreecommitdiffstats
path: root/test/Transforms/InstCombine/2011-10-07-AlignPromotion.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Transforms/InstCombine/2011-10-07-AlignPromotion.ll')
-rw-r--r--test/Transforms/InstCombine/2011-10-07-AlignPromotion.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Transforms/InstCombine/2011-10-07-AlignPromotion.ll b/test/Transforms/InstCombine/2011-10-07-AlignPromotion.ll
index 22061b2..122669e 100644
--- a/test/Transforms/InstCombine/2011-10-07-AlignPromotion.ll
+++ b/test/Transforms/InstCombine/2011-10-07-AlignPromotion.ll
@@ -10,7 +10,7 @@ define void @t(%struct.CGPoint* %a) nounwind {
%Point = alloca %struct.CGPoint, align 4
%1 = bitcast %struct.CGPoint* %a to i64*
%2 = bitcast %struct.CGPoint* %Point to i64*
- %3 = load i64* %1, align 4
+ %3 = load i64, i64* %1, align 4
store i64 %3, i64* %2, align 4
call void @foo(i64* %2) nounwind
ret void