diff options
author | Philip Reames <listmail@philipreames.com> | 2015-04-10 22:53:14 +0000 |
---|---|---|
committer | Philip Reames <listmail@philipreames.com> | 2015-04-10 22:53:14 +0000 |
commit | df1ef08c0c6448dc51242d0ffc9fc0909d1306a4 (patch) | |
tree | 4a40d6f05aef3d58c6ac585aa3a83f2add01d629 /llvm/unittests/Support/CommandLineTest.cpp | |
parent | 704e78b14967c10e566c66fa061feba268da45c6 (diff) | |
download | llvm-df1ef08c0c6448dc51242d0ffc9fc0909d1306a4.zip llvm-df1ef08c0c6448dc51242d0ffc9fc0909d1306a4.tar.gz llvm-df1ef08c0c6448dc51242d0ffc9fc0909d1306a4.tar.bz2 |
[RewriteStatepointsForGC] Use an actual liveness algorithm
When rewriting statepoints to make relocations explicit, we need to have a conservative but consistent notion of where a particular pointer is live at a particular site. The old code just used dominance, which is correct, but decidedly more conservative then it needed to be. This patch implements a simple dataflow algorithm that's run one per function (well, twice counting fixup after base pointer insertion). There's still lots of room to make this faster, but it's fast enough for all practical purposes today.
Differential Revision: http://reviews.llvm.org/D8674
llvm-svn: 234657
Diffstat (limited to 'llvm/unittests/Support/CommandLineTest.cpp')
0 files changed, 0 insertions, 0 deletions