aboutsummaryrefslogtreecommitdiffstats
path: root/test/Transforms/InstCombine/2011-06-13-nsw-alloca.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Transforms/InstCombine/2011-06-13-nsw-alloca.ll')
-rw-r--r--test/Transforms/InstCombine/2011-06-13-nsw-alloca.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Transforms/InstCombine/2011-06-13-nsw-alloca.ll b/test/Transforms/InstCombine/2011-06-13-nsw-alloca.ll
index a75a465..895b260 100644
--- a/test/Transforms/InstCombine/2011-06-13-nsw-alloca.ll
+++ b/test/Transforms/InstCombine/2011-06-13-nsw-alloca.ll
@@ -15,7 +15,7 @@ define void @fu1(i32 %parm) nounwind ssp {
; <label>:4 ; preds = %0
%5 = load i32* %1, align 4
- %6 = mul nsw i32 %5, 8
+ %6 = shl nsw i32 %5, 3
; With "nsw", the alloca and its bitcast can be fused:
%7 = add nsw i32 %6, 2048
; CHECK: alloca double