LLVM backend for 6502
Go to file
Tim Northover e53abc2072 ARM: remove unnecessary state-tracking during frame lowering.
ResolveFrameIndex had what appeared to be a very nasty hack for when the
frame-index referred to a callee-saved register. In this case it "adjusted" the
offset so that the address was correct if (and only if) the MachineInstr
immediately followed the respective push.

This "worked" for all forms of GPR & DPR but was only ever used to set the
frame pointer itself, and once this was put in a more sensible location the
entire state-tracking machinery it relied on became redundant. So I stripped
it.

The only wrinkle is that "add r7, sp, #0" might theoretically be slower (need
an actual ALU slot) compared to "mov r7, sp" so I added a micro-optimisation
that also makes emitARMRegUpdate and emitT2RegUpdate also work when NumBytes ==
0.

No test changes since there shouldn't be any functionality change.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194025 91177308-0d34-0410-b5e6-96231b3b80d8
2013-11-04 23:04:15 +00:00
autoconf Update so that it uses the `-V' command line option and supports Python 3.x. 2013-10-12 08:42:59 +00:00
bindings [OCaml] implement Llvm_passmgr_builder, bindings for PassManagerBuilder 2013-11-04 01:39:42 +00:00
cmake
docs [docs] Add link to 32-bit ARM ELF supplement. 2013-11-04 19:43:36 +00:00
examples
include Add support for AVX512 masked vector blend intrinsics. 2013-11-04 19:14:56 +00:00
lib ARM: remove unnecessary state-tracking during frame lowering. 2013-11-04 23:04:15 +00:00
projects
test AArch64: use default asm operand printing when modifier inapplicable 2013-11-04 23:04:07 +00:00
tools Use startswith_lower() where possible. 2013-11-04 19:22:50 +00:00
unittests Merge CallGraph and BasicCallGraph. 2013-10-31 03:03:55 +00:00
utils AVX-512: added VPCONFLICT instruction and intrinsics, 2013-11-03 13:46:31 +00:00
.arcconfig
.clang-format
.gitignore
CMakeLists.txt Modify CMakeLists.txt to work around pr17763 and bring some bots back. 2013-10-31 22:13:41 +00:00
CODE_OWNERS.TXT
configure
CREDITS.TXT
LICENSE.TXT
llvm.spec.in
LLVMBuild.txt
Makefile
Makefile.common
Makefile.config.in
Makefile.rules Rules adjustments in order to build on DragonFly BSD. 2013-10-31 14:35:00 +00:00
README.txt

Low Level Virtual Machine (LLVM)
================================

This directory and its subdirectories contain source code for the Low Level
Virtual Machine, a toolkit for the construction of highly optimized compilers,
optimizers, and runtime environments.

LLVM is open source software. You may freely distribute it under the terms of
the license agreement found in LICENSE.txt.

Please see the documentation provided in docs/ for further
assistance with LLVM, and in particular docs/GettingStarted.rst for getting
started with LLVM and docs/README.txt for an overview of LLVM's
documentation setup.

If you're writing a package for LLVM, see docs/Packaging.rst for our
suggestions.