projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
11c42f2
)
[ms-inline asm] Test case for r166790.
author
Chad Rosier
<mcrosier@apple.com>
Fri, 26 Oct 2012 18:04:45 +0000
(18:04 +0000)
committer
Chad Rosier
<mcrosier@apple.com>
Fri, 26 Oct 2012 18:04:45 +0000
(18:04 +0000)
llvm-svn: 166791
clang/test/CodeGen/ms-inline-asm.c
patch
|
blob
|
history
diff --git
a/clang/test/CodeGen/ms-inline-asm.c
b/clang/test/CodeGen/ms-inline-asm.c
index cd0d05ebf64c685719fe17cca016097a0a397a1f..7f43da891e90c7760ebb539283210c62c33b0c2d 100644
(file)
--- a/
clang/test/CodeGen/ms-inline-asm.c
+++ b/
clang/test/CodeGen/ms-inline-asm.c
@@
-193,3
+193,10
@@
int t19() {
// CHECK: t19
// CHECK: call void asm sideeffect inteldialect "lea ebx, foo\0A\09mov eax, [ebx].0\0A\09mov [ebx].4, ecx", "~{eax},~{dirflag},~{fpsr},~{flags}"() nounwind
}
+
+void t20() {
+ int foo;
+ __asm mov eax, TYPE foo
+// CHECK: t20
+// CHECK: call void asm sideeffect inteldialect "mov eax, $$4", "~{eax},~{dirflag},~{fpsr},~{flags}"() nounwind
+}