summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/X86/inline-asm-stack-realign.ll
diff options
context:
space:
mode:
authorReid Kleckner <reid@kleckner.net>2013-12-10 23:23:52 +0000
committerReid Kleckner <reid@kleckner.net>2013-12-10 23:23:52 +0000
commitad92aca47c0f8f42e8656171e994788a62123fad (patch)
treec08d8f8024d0ba24911b068534a3b8b5a3c1b614 /llvm/test/CodeGen/X86/inline-asm-stack-realign.ll
parent4570d3eba0db0e322115964257f36a086d89edcb (diff)
downloadbcm5719-llvm-ad92aca47c0f8f42e8656171e994788a62123fad.tar.gz
bcm5719-llvm-ad92aca47c0f8f42e8656171e994788a62123fad.zip
Revert the backend fatal error from r196939
The combination of inline asm, stack realignment, and dynamic allocas turns out to be too common to reject out of hand. ASan inserts empy inline asm fragments and uses aligned allocas. Compiling any trivial function containing a dynamic alloca with ASan is enough to trigger the check. XFAIL the test cases that would be miscompiled and add one that uses the relevant functionality. llvm-svn: 196986
Diffstat (limited to 'llvm/test/CodeGen/X86/inline-asm-stack-realign.ll')
-rw-r--r--llvm/test/CodeGen/X86/inline-asm-stack-realign.ll6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/test/CodeGen/X86/inline-asm-stack-realign.ll b/llvm/test/CodeGen/X86/inline-asm-stack-realign.ll
index 476a628c8bb..de98200a3a9 100644
--- a/llvm/test/CodeGen/X86/inline-asm-stack-realign.ll
+++ b/llvm/test/CodeGen/X86/inline-asm-stack-realign.ll
@@ -1,8 +1,8 @@
; RUN: not llc -mtriple=i686-pc-win32 < %s 2>&1 | FileCheck %s
-; We don't currently support realigning the stack and adjusting the stack
-; pointer in inline asm. This commonly happens in MS inline assembly using
-; push and pop.
+; FIXME: This is miscompiled due to our unconditional use of ESI as the base
+; pointer.
+; XFAIL:
; CHECK: Stack realignment in presence of dynamic stack adjustments is not supported with inline assembly
OpenPOWER on IntegriCloud