llvm-6502/test
Pavel Chupin 5d8c984e54 [x32] Use ebp/esp as frame and stack pointer
Summary:
Since pointers are 32-bit on x32 we can use ebp and esp as frame and stack
pointer. Some operations like PUSH/POP and CFI_INSTRUCTION still
require 64-bit register, so using 64-bit MachineFramePtr where required.

X86_64 NaCl uses 64-bit frame/stack pointers, however it's been found that
both isTarget64BitLP64 and isTarget64BitILP32 are true for NaCl. Addressing
this issue here as well by making isTarget64BitLP64 false.

Also mark hasReservedSpillSlot unreachable on X86. See inlined comments.

Test Plan: Add one new simple test and upgrade 2 existing with x32 target case.

Reviewers: nadav, dschuff

Subscribers: llvm-commits, zinovy.nis

Differential Revision: http://reviews.llvm.org/D4617

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@215091 91177308-0d34-0410-b5e6-96231b3b80d8
2014-08-07 09:41:19 +00:00
..
Analysis
Assembler verify-uselistorder: Change the default -num-shuffles=5 2014-07-31 18:46:24 +00:00
Bindings [OCaml] Add Llvm.{string_of_const,const_element}. 2014-08-03 23:54:22 +00:00
Bitcode UseListOrder: Fix blockaddress use-list order 2014-08-01 22:27:19 +00:00
BugPoint
CodeGen [x32] Use ebp/esp as frame and stack pointer 2014-08-07 09:41:19 +00:00
DebugInfo DebugInfo: Make a test more portable 2014-08-07 03:47:28 +00:00
ExecutionEngine
Feature Use "weak alias" instead of "alias weak" 2014-07-30 22:51:54 +00:00
FileCheck
Instrumentation [dfsan] Try not to create too many additional basic blocks in functions which 2014-08-06 00:33:40 +00:00
Integer
JitListener
Linker Use "weak alias" instead of "alias weak" 2014-07-30 22:51:54 +00:00
LTO
MC MC X86: Accept ".att_syntax prefix" and diagnose noprefix 2014-08-06 23:21:13 +00:00
Object Use "weak alias" instead of "alias weak" 2014-07-30 22:51:54 +00:00
Other Don't internalize all but main by default. 2014-08-05 20:10:38 +00:00
TableGen Update BitRecTy::convertValue to allow if expressions with bit values on both sides of the if 2014-08-07 05:47:10 +00:00
tools Add the -mcpu= option to llvm-objdump for use with the disassemblers. 2014-08-06 23:24:41 +00:00
Transforms Revert "r214897 - Remove dead zero store to calloc initialized memory" 2014-08-06 19:30:38 +00:00
Unit
Verifier Use "weak alias" instead of "alias weak" 2014-07-30 22:51:54 +00:00
YAMLParser
.clang-format
CMakeLists.txt
lit.cfg
lit.site.cfg.in
Makefile
Makefile.tests
TestRunner.sh