diff options
author | Chad Rosier <mcrosier@apple.com> | 2013-04-10 16:33:34 +0000 |
---|---|---|
committer | Chad Rosier <mcrosier@apple.com> | 2013-04-10 16:33:34 +0000 |
commit | a5ceca924c33bfa6e1d7b3e6e3cac7c24cbf3633 (patch) | |
tree | 1a07f3fff4947c31fa54cca0303167641b7d6078 /test/CodeGen/ms-inline-asm.c | |
parent | c95468f1a79cdc8b92c40a48322f8972c4814ea9 (diff) |
[ms-inline asm] Add a few test cases that were regressed by r179115. That
commit was reverted in r179120, but I do plan on reapplying with a fix shortly.
Part of rdar://13611297
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@179182 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/ms-inline-asm.c')
-rw-r--r-- | test/CodeGen/ms-inline-asm.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/CodeGen/ms-inline-asm.c b/test/CodeGen/ms-inline-asm.c index d36c77007a..9e61d9f3cd 100644 --- a/test/CodeGen/ms-inline-asm.c +++ b/test/CodeGen/ms-inline-asm.c @@ -402,6 +402,9 @@ void t35() { void t36() { int arr[4]; __asm mov eax, 4[arr] + __asm mov eax, [arr + 4] + __asm mov eax, [4 + arr] + __asm mov eax, [4 + arr + 4] // CHECK: t36 // CHECK: call void asm sideeffect inteldialect "mov eax, dword ptr $$4$0", "*m,~{eax},~{dirflag},~{fpsr},~{flags}"([4 x i32]* %arr) } |