diff options
author | George Burgess IV <george.burgess.iv@gmail.com> | 2016-03-23 18:31:55 +0000 |
---|---|---|
committer | George Burgess IV <george.burgess.iv@gmail.com> | 2016-03-23 18:31:55 +0000 |
commit | 0e4898685f8654b8a01e1580cc9a14497cb3f794 (patch) | |
tree | aeea6bfeb96a96510c64f77e993e6735fa9bd7de /llvm/tools/llvm-objdump/llvm-objdump.cpp | |
parent | 12b79aa0f1b7aa6e792a0b65d219a969f4ea8f0b (diff) | |
download | bcm5719-llvm-0e4898685f8654b8a01e1580cc9a14497cb3f794.tar.gz bcm5719-llvm-0e4898685f8654b8a01e1580cc9a14497cb3f794.zip |
Fix bugs in the MemorySSA walker.
There are a few bugs in the walker that this patch addresses.
Primarily:
- Caching can break when we have multiple BBs without phis
- We weren't optimizing some phis properly
- Because of how the DFS iterator works, there were times where we
wouldn't cache any results of our DFS
I left the test cases with FIXMEs in, because I'm not sure how much
effort it will take to get those to work (read: We'll probably
ultimately have to end up redoing the walker, or we'll have to come up
with some creative caching tricks), and more test coverage = better.
Differential Revision: http://reviews.llvm.org/D18065
llvm-svn: 264180
Diffstat (limited to 'llvm/tools/llvm-objdump/llvm-objdump.cpp')
0 files changed, 0 insertions, 0 deletions