mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-19 19:29:31 +00:00
Move LowerAllocations, PrintFunction, and SymbolStripping passes, and the corresponding -disable-strip and -d options, over here to the SPARC target-specific bits of llc. Rename -d to -dump-asm. tools/llc/Makefile: Reindent. Add x86 library so that llc compiles again. tools/llc/llc.cpp: Remove support for running arbitrary optimization passes. Use opt instead. Remove LowerAllocations, PrintFunction, and SymbolStripping passes, as noted above. Allow user to select a backend (x86 or SPARC); default to guessing from the endianness/pointer size of the input bytecode file. Fix typos. Delete empty .s file and exit with error status if target does not support static compilation. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6776 91177308-0d34-0410-b5e6-96231b3b80d8
26 lines
512 B
Makefile
26 lines
512 B
Makefile
LEVEL = ../..
|
|
TOOLNAME = llc
|
|
USEDLIBS = mapping \
|
|
sparc \
|
|
x86 \
|
|
regalloc \
|
|
sched \
|
|
select \
|
|
codegen \
|
|
preopts \
|
|
postopts.a \
|
|
target.a \
|
|
livevar \
|
|
transforms.a \
|
|
scalaropts.a \
|
|
analysis.a \
|
|
transformutils.a \
|
|
bcreader \
|
|
bcwriter \
|
|
vmcore \
|
|
support
|
|
TOOLLINKOPTS = $(PLATFORMLIBDL)
|
|
|
|
include $(LEVEL)/Makefile.common
|
|
|