aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
diff options
context:
space:
mode:
authorPhilip Reames <listmail@philipreames.com>2015-02-10 00:04:53 +0000
committerPhilip Reames <listmail@philipreames.com>2015-02-10 00:04:53 +0000
commit7e7dc3e9df537f55127a6cc1f4d1f0aa4d19b28b (patch)
tree65417c8f09ef90690ec8e960786beebba27557c5 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
parent6e82ddc5b4716da8f2a307eee2baa9952bdcfaf6 (diff)
downloadllvm-7e7dc3e9df537f55127a6cc1f4d1f0aa4d19b28b.zip
llvm-7e7dc3e9df537f55127a6cc1f4d1f0aa4d19b28b.tar.gz
llvm-7e7dc3e9df537f55127a6cc1f4d1f0aa4d19b28b.tar.bz2
Adjust how we avoid poll insertion inside the poll function (NFC)
I realized that my early fix for this was overly complicated. Rather than scatter checks around in a bunch of places, just exit early when we visit the poll function itself. Thinking about it a bit, the whole inlining mechanism used with gc.safepoint_poll could probably be cleaned up a bit. Originally, poll insertion was fused with gc relocation rewriting. It might be worth going back to see if we can simplify the chain of events now that these two are seperated. As one thought, maybe it makes sense to rewrite calls inside the helper function before inlining it to the many callers. This would require us to visit the poll function before any other functions though.. llvm-svn: 228634
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions