llvm-6502/test/CodeGen
Hans Wennborg 2f471c83a0 Check for dynamic allocas and inline asm that clobbers sp before building
selection dag (PR19012)

In X86SelectionDagInfo::EmitTargetCodeForMemcpy we check with MachineFrameInfo
to make sure that ESI isn't used as a base pointer register before we choose to
emit rep movs (which clobbers esi).

The problem is that MachineFrameInfo wouldn't know about dynamic allocas or
inline asm that clobbers the stack pointer until SelectionDAGBuilder has
encountered them.

This patch fixes the problem by checking for such things when building the
FunctionLoweringInfo.

Differential Revision: http://llvm-reviews.chandlerc.com/D2954

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@202930 91177308-0d34-0410-b5e6-96231b3b80d8
2014-03-05 02:43:26 +00:00
..
AArch64 Revert "[AArch64] This is a work in progress to provide a machine description" 2014-03-04 00:32:07 +00:00
ARM Debug info: Remove ARMAsmPrinter::EmitDwarfRegOp(). AsmPrinter can now 2014-02-27 17:56:08 +00:00
CPP
Generic CommandLine: Exit successfully for -version and -help 2014-02-28 19:08:01 +00:00
Hexagon Fix broken CHECK lines 2014-02-16 07:31:05 +00:00
Inputs
Mips [mips][msa] Correct the behaviour of the COPY_FW pseudo on lanes 2 and 3. 2014-03-04 13:54:30 +00:00
MSP430
NVPTX
PowerPC Add a PPC inline asm constraint type for single CR bits 2014-03-02 18:23:39 +00:00
R600 R600: Add failing control flow tests. 2014-03-01 21:45:41 +00:00
SPARC [Sparc] Add support for parsing directives in SparcAsmParser. 2014-03-01 02:18:04 +00:00
SystemZ Re-commit: Demote EmitRawText call in AsmPrinter::EmitInlineAsm() and remove hasRawTextSupport() call 2014-02-13 14:44:26 +00:00
Thumb
Thumb2
X86 Check for dynamic allocas and inline asm that clobbers sp before building 2014-03-05 02:43:26 +00:00
XCore [XCore] Fix call of absolute address. 2014-03-04 16:50:30 +00:00