summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/ms-inline-asm.c
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.c
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.c')
-rw-r--r--clang/test/CodeGen/ms-inline-asm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/CodeGen/ms-inline-asm.c b/clang/test/CodeGen/ms-inline-asm.c
index 06c0db8ebc8..92158e0cb91 100644
--- a/clang/test/CodeGen/ms-inline-asm.c
+++ b/clang/test/CodeGen/ms-inline-asm.c
@@ -246,7 +246,7 @@ void t24_helper(void) {}
void t24() {
__asm call t24_helper
// CHECK: t24
-// CHECK: call void asm sideeffect inteldialect "call $0", "r,~{dirflag},~{fpsr},~{flags}"(void ()* @t24_helper)
+// CHECK: call void asm sideeffect inteldialect "call dword ptr $0", "*m,~{dirflag},~{fpsr},~{flags}"(void ()* @t24_helper)
}
void t25() {
@@ -508,5 +508,5 @@ void t41(unsigned short a) {
void call_clobber() {
__asm call t41
// CHECK-LABEL: define void @call_clobber
- // CHECK: call void asm sideeffect inteldialect "call $0", "r,~{dirflag},~{fpsr},~{flags}"(void (i16)* @t41)
+ // CHECK: call void asm sideeffect inteldialect "call dword ptr $0", "*m,~{dirflag},~{fpsr},~{flags}"(void (i16)* @t41)
}
OpenPOWER on IntegriCloud