diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2011-09-27 20:39:19 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2011-09-27 20:39:19 +0000 |
commit | a9390a4d5f5d568059a80970d22194b165d097a7 (patch) | |
tree | 1f070db88cf855be43bfe5eb228516b57cbb3489 /test/Transforms/LoopIdiom | |
parent | 100a371725ddc2565b5262ce9047dcd06ae95854 (diff) |
Stop emitting instructions with the name "tmp" they eat up memory and have to be uniqued, without any benefit.
If someone prefers %tmp42 to %42, run instnamer.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@140634 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/LoopIdiom')
-rw-r--r-- | test/Transforms/LoopIdiom/basic.ll | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Transforms/LoopIdiom/basic.ll b/test/Transforms/LoopIdiom/basic.ll index 969541813a..46ab7e5542 100644 --- a/test/Transforms/LoopIdiom/basic.ll +++ b/test/Transforms/LoopIdiom/basic.ll @@ -62,8 +62,8 @@ for.end: ; preds = %for.body, %entry ret void ; CHECK: @test2 ; CHECK: br i1 %cmp10, -; CHECK: %tmp = mul i64 %Size, 4 -; CHECK: call void @llvm.memset.p0i8.i64(i8* %Base1, i8 1, i64 %tmp, i32 4, i1 false) +; CHECK: %0 = mul i64 %Size, 4 +; CHECK: call void @llvm.memset.p0i8.i64(i8* %Base1, i8 1, i64 %0, i32 4, i1 false) ; CHECK-NOT: store } |