summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Linker
diff options
context:
space:
mode:
authorArnold Schwaighofer <arnold.schwaighofer@gmail.com>2010-02-22 16:18:09 +0000
committerArnold Schwaighofer <arnold.schwaighofer@gmail.com>2010-02-22 16:18:09 +0000
commit30ece5b8077676358a521abacad342d5ab334d97 (patch)
treeee8bb40b299ca85934d4cb81f19b2ff34afb3779 /llvm/lib/Linker
parent260918ce5c5c75ab234f25f9f92e1a5597bd838e (diff)
downloadbcm5719-llvm-30ece5b8077676358a521abacad342d5ab334d97.tar.gz
bcm5719-llvm-30ece5b8077676358a521abacad342d5ab334d97.zip
Mark the return address stack slot as mutable when moving the return address
during a tail call. A parameter might overwrite this stack slot during the tail call. The sequence during a tail call is: 1.) load return address to temp reg 2.) move parameters (might involve storing to return address stack slot) 3.) store return address to new location from temp reg If the stack location is marked immutable CodeGen can colocate load (1) with the store (3). This fixes bug 6225. llvm-svn: 96783
Diffstat (limited to 'llvm/lib/Linker')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud