mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-15 19:24:33 +00:00
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
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user