summaryrefslogtreecommitdiff
path: root/test/CodeGen/ms-inline-asm.cpp
diff options
context:
space:
mode:
authorStephen Lin <stephenwlin@gmail.com>2013-08-15 06:47:53 +0000
committerStephen Lin <stephenwlin@gmail.com>2013-08-15 06:47:53 +0000
commit93ab6bf534fb6c26563c00f28a8fc5581bb71dfd (patch)
tree938e985e9673d1b0d289e8ed751943edc097da1d /test/CodeGen/ms-inline-asm.cpp
parent233fbe1f56183878167a56be53425a6dd25ba334 (diff)
downloadclang-93ab6bf534fb6c26563c00f28a8fc5581bb71dfd.tar.gz
CHECK-LABEL-ify some code gen tests to improve diagnostic experience when tests fail.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@188447 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/ms-inline-asm.cpp')
-rw-r--r--test/CodeGen/ms-inline-asm.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/CodeGen/ms-inline-asm.cpp b/test/CodeGen/ms-inline-asm.cpp
index 8b9109d019..cd182a1d55 100644
--- a/test/CodeGen/ms-inline-asm.cpp
+++ b/test/CodeGen/ms-inline-asm.cpp
@@ -39,7 +39,7 @@ void t2() {
// CHECK: call void asm sideeffect inteldialect "mov eax, $0", "r,~{eax},~{dirflag},~{fpsr},~{flags}"(i32** @_ZN3Foo3Bar3ptrE)
}
-// CHECK: define void @_Z2t3v()
+// CHECK-LABEL: define void @_Z2t3v()
void t3() {
__asm mov eax, LENGTH Foo::ptr
// CHECK: call void asm sideeffect inteldialect "mov eax, $$1", "~{eax},~{dirflag},~{fpsr},~{flags}"()
@@ -76,7 +76,7 @@ struct T4 {
void test();
};
-// CHECK: define void @_ZN2T44testEv(
+// CHECK-LABEL: define void @_ZN2T44testEv(
void T4::test() {
// CHECK: [[T0:%.*]] = alloca [[T4:%.*]]*,
// CHECK: [[THIS:%.*]] = load [[T4]]** [[T0]]
@@ -91,7 +91,7 @@ template <class T> struct T5 {
template <class U> static T create(U);
void run();
};
-// CHECK: define void @_Z5test5v()
+// CHECK-LABEL: define void @_Z5test5v()
void test5() {
// CHECK: [[X:%.*]] = alloca i32
// CHECK: [[Y:%.*]] = alloca i32