llvm-mirror/test/MC/AsmParser/rename.s
Benjamin Kramer 6f39531981 Don't store Twine temporaries, it's not safe.
And don't append the name over and over again in the loop.

llvm-svn: 129210
2011-04-09 11:26:27 +00:00

15 lines
325 B
ArmAsm

// RUN: llvm-mc -triple i386-unknown-unknown %s | FileCheck %s
.size bar, . - bar
.Ltmp01:
.size foo, .Ltmp01 - foo
.Ltmp0:
.size qux, .Ltmp0 - qux
// CHECK: .Ltmp0:
// CHECK: .size bar, .Ltmp0-bar
// CHECK: .Ltmp01
// CHECK: .size foo, .Ltmp01-foo
// CHECK: .Ltmp02
// CHECK: .size qux, .Ltmp02-qux