mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-16 11:05:54 +00:00
4a544a79bd
init.trampoline and adjust.trampoline intrinsics, into two intrinsics like in GCC. While having one combined intrinsic is tempting, it is not natural because typically the trampoline initialization needs to be done in one function, and the result of adjust trampoline is needed in a different (nested) function. To get around this llvm-gcc hacks the nested function lowering code to insert an additional parent variable holding the adjust.trampoline result that can be accessed from the child function. Dragonegg doesn't have the luxury of tweaking GCC code, so it stored the result of adjust.trampoline in the memory GCC set aside for the trampoline itself (this is always available in the child function), and set up some new memory (using an alloca) to hold the trampoline. Unfortunately this breaks Go which allocates trampoline memory on the heap and wants to use it even after the parent has exited (!). Rather than doing even more hacks to get Go working, it seemed best to just use two intrinsics like in GCC. Patch mostly by Sanjoy Das. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139140 91177308-0d34-0410-b5e6-96231b3b80d8 |
||
---|---|---|
.. | ||
2008-11-17-Shl64.ll | ||
2009-01-08-Crash.ll | ||
2009-01-14-Remat-Crash.ll | ||
2009-03-27-v2f64-param.ll | ||
2009-07-15-store192.ll | ||
2010-02-25-LSR-Crash.ll | ||
2010-04-07-DbgValueOtherTargets.ll | ||
2011-01-31-DAGCombineBug.ll | ||
2011-08-01-DynamicAllocBug.ll | ||
2011-08-01-VarargsBug.ll | ||
addsub64.ll | ||
ashr.ll | ||
basictest.ll | ||
bigstructret.ll | ||
constants.ll | ||
cos.ll | ||
dg.exp | ||
events.ll | ||
exp2.ll | ||
exp.ll | ||
fneg.ll | ||
getid.ll | ||
globals.ll | ||
indirectbr.ll | ||
ladd_lsub_combine.ll | ||
load.ll | ||
log2.ll | ||
log10.ll | ||
log.ll | ||
misc-intrinsics.ll | ||
mul64.ll | ||
pow.ll | ||
powi.ll | ||
private.ll | ||
ps-intrinsics.ll | ||
resources.ll | ||
scavenging.ll | ||
sext.ll | ||
sin.ll | ||
sqrt.ll | ||
sr-intrinsics.ll | ||
store.ll | ||
switch_long.ll | ||
switch.ll | ||
threads.ll | ||
tls.ll | ||
trampoline.ll | ||
trap.ll | ||
unaligned_load.ll | ||
unaligned_store_combine.ll | ||
unaligned_store.ll |