diff options
author | Cameron Zwarich <zwarich@apple.com> | 2011-10-12 21:24:54 +0000 |
---|---|---|
committer | Cameron Zwarich <zwarich@apple.com> | 2011-10-12 21:24:54 +0000 |
commit | 2dffcebf77e05d85e577fe8fbf47f93c198d5710 (patch) | |
tree | 344620cd4020a515c0be63da09ac306fdff90425 /llvm/lib/Object/MachOObjectFile.cpp | |
parent | 54a20ed0f132f2adc76d08298cccae33109b7659 (diff) | |
download | bcm5719-llvm-2dffcebf77e05d85e577fe8fbf47f93c198d5710.tar.gz bcm5719-llvm-2dffcebf77e05d85e577fe8fbf47f93c198d5710.zip |
To find the exiting VN of a LiveInterval from a block, use the previous slot
rather than the previous index. If a block has a single instruction, the
previous index may be in a different basic block.
I have no clue how this used to work on all of test-suite, because now this
failure is seen quite often when trying to compile code with -strong-phi-elim.
This fixes PR10252.
llvm-svn: 141812
Diffstat (limited to 'llvm/lib/Object/MachOObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions