summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/ms-inline-asm.cpp
diff options
context:
space:
mode:
authorReid Kleckner <reid@kleckner.net>2014-08-01 20:23:29 +0000
committerReid Kleckner <reid@kleckner.net>2014-08-01 20:23:29 +0000
commite2d6429493d748e24917f8217f7ddd4d29d21ba2 (patch)
tree743cfbc69d215f38323e4ae79ec7f8de46f7bc75 /clang/test/CodeGen/ms-inline-asm.cpp
parent05d2daf00c8777ef087e0cf0856633df9ea3762d (diff)
downloadbcm5719-llvm-e2d6429493d748e24917f8217f7ddd4d29d21ba2.tar.gz
bcm5719-llvm-e2d6429493d748e24917f8217f7ddd4d29d21ba2.zip
MS inline asm: Tests for r214550
These tests seem like an exception to the rule against assembly emitting tests in clang. I made an LLVM side change that can only be tested by setting up the inline assembly machinery that is only implemented by Clang. llvm-svn: 214552
Diffstat (limited to 'clang/test/CodeGen/ms-inline-asm.cpp')
-rw-r--r--clang/test/CodeGen/ms-inline-asm.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/CodeGen/ms-inline-asm.cpp b/clang/test/CodeGen/ms-inline-asm.cpp
index 7bd6d9435ec..65e59d6b947 100644
--- a/clang/test/CodeGen/ms-inline-asm.cpp
+++ b/clang/test/CodeGen/ms-inline-asm.cpp
@@ -82,7 +82,7 @@ void test5() {
__asm push y
__asm call T5<int>::create<float>
__asm mov x, eax
- // CHECK: call void asm sideeffect inteldialect "push dword ptr $0\0A\09call $2\0A\09mov dword ptr $1, eax", "=*m,=*m,r,~{esp},~{dirflag},~{fpsr},~{flags}"(i32* %y, i32* %x, i32 (float)* @_ZN2T5IiE6createIfEEiT_)
+ // CHECK: call void asm sideeffect inteldialect "push dword ptr $0\0A\09call dword ptr $2\0A\09mov dword ptr $1, eax", "=*m,=*m,*m,~{esp},~{dirflag},~{fpsr},~{flags}"(i32* %y, i32* %x, i32 (float)* @_ZN2T5IiE6createIfEEiT_)
}
// Just verify this doesn't emit an error.
OpenPOWER on IntegriCloud