mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-29 23:12:55 +01:00
19420e8daf
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. llvm-svn: 6776
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
|
|
|