1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-24 05:23:45 +02:00
llvm-mirror/test/CodeGen
Reid Kleckner bfbea18b59 MS inline asm: Use memory constraints for functions instead of registers
This is consistent with how we parse them in a standalone .s file, and
inline assembly shouldn't differ.

This fixes errors about requiring more registers than available in
cases like this:
  void f();
  void __declspec(naked) g() {
    __asm pusha
    __asm call f
    __asm popa
    __asm ret
  }

There are no registers available to pass the address of 'f' into the asm
blob.  The asm should now directly call 'f'.

Tests will land in Clang shortly.

llvm-svn: 214550
2014-08-01 20:21:24 +00:00
..
AArch64 [FastISel][AArch64] Fold offset into the memory operation. 2014-08-01 19:40:16 +00:00
ARM [FastISel][ARM] Do not emit stores for undef arguments. 2014-08-01 18:04:14 +00:00
CPP
Generic Use "weak alias" instead of "alias weak" 2014-07-30 22:51:54 +00:00
Hexagon
Inputs
Mips [mips][PR19612] Fix va_arg for big-endian mode. 2014-08-01 09:17:39 +00:00
MSP430
NVPTX [NVPTX] Add some extra tests for mul.wide to test non-power-of-two source types 2014-07-23 20:23:49 +00:00
PowerPC [PowerPC] Recognize consecutive memory accesses from intrinsics 2014-08-01 01:02:01 +00:00
R600 R600: Cleanup test 2014-08-01 17:00:29 +00:00
SPARC
SystemZ
Thumb [stack protector] Add test cases for thumb and thumb2. 2014-07-25 19:47:46 +00:00
Thumb2 [stack protector] Add test cases for thumb and thumb2. 2014-07-25 19:47:46 +00:00
X86 MS inline asm: Use memory constraints for functions instead of registers 2014-08-01 20:21:24 +00:00
XCore