summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/ms-inline-asm.cpp
diff options
context:
space:
mode:
authorReid Kleckner <rnk@google.com>2016-11-29 00:39:37 +0000
committerReid Kleckner <rnk@google.com>2016-11-29 00:39:37 +0000
commitfec0f32ea90ec50c79492ce046c3622cfe981d29 (patch)
treed0a147d5a51a4daaae8d3abb49682819d5530008 /clang/test/CodeGen/ms-inline-asm.cpp
parentc68a6c4ca9faf6eb332383b105483204b2ed61d5 (diff)
downloadbcm5719-llvm-fec0f32ea90ec50c79492ce046c3622cfe981d29.tar.gz
bcm5719-llvm-fec0f32ea90ec50c79492ce046c3622cfe981d29.zip
Use ${:uid} to generate unique MS asm labels, not {:uid}
llvm-svn: 288093
Diffstat (limited to 'clang/test/CodeGen/ms-inline-asm.cpp')
-rw-r--r--clang/test/CodeGen/ms-inline-asm.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/CodeGen/ms-inline-asm.cpp b/clang/test/CodeGen/ms-inline-asm.cpp
index 584122fd933..424c1992cc2 100644
--- a/clang/test/CodeGen/ms-inline-asm.cpp
+++ b/clang/test/CodeGen/ms-inline-asm.cpp
@@ -126,14 +126,14 @@ void t7_using() {
void t8() {
__asm some_label:
// CHECK-LABEL: define void @_Z2t8v()
- // CHECK: call void asm sideeffect inteldialect "L__MSASMLABEL_.{:uid}__some_label:", "~{dirflag},~{fpsr},~{flags}"()
+ // CHECK: call void asm sideeffect inteldialect "L__MSASMLABEL_.${:uid}__some_label:", "~{dirflag},~{fpsr},~{flags}"()
struct A {
static void g() {
__asm jmp some_label ; This should jump forwards
__asm some_label:
__asm nop
// CHECK-LABEL: define internal void @_ZZ2t8vEN1A1gEv()
- // CHECK: call void asm sideeffect inteldialect "jmp L__MSASMLABEL_.{:uid}__some_label\0A\09L__MSASMLABEL_.{:uid}__some_label:\0A\09nop", "~{dirflag},~{fpsr},~{flags}"()
+ // CHECK: call void asm sideeffect inteldialect "jmp L__MSASMLABEL_.${:uid}__some_label\0A\09L__MSASMLABEL_.${:uid}__some_label:\0A\09nop", "~{dirflag},~{fpsr},~{flags}"()
}
};
A::g();
OpenPOWER on IntegriCloud