Revision tags: llvmorg-3.4.0, llvmorg-3.4.0-rc3, llvmorg-3.4.0-rc2 |
|
#
ee592429 |
| 02-Dec-2013 |
Diego Novillo <dnovillo@google.com> |
Fix dominator descendants for unreachable blocks.
When a block is unreachable, asking its dom tree descendants should return the empty set. However, the computation of the descendants was causing a
Fix dominator descendants for unreachable blocks.
When a block is unreachable, asking its dom tree descendants should return the empty set. However, the computation of the descendants was causing a segmentation fault because the dom tree node we get from the basic block is initially NULL.
Fixed by adding a test for a valid dom tree node before we iterate.
The patch also adds some unit tests to the existing dom tree tests.
llvm-svn: 196099
show more ...
|
Revision tags: llvmorg-3.4.0-rc1, llvmorg-3.3.1-rc1, llvmorg-3.3.0, llvmorg-3.3.0-rc3, llvmorg-3.3.0-rc2, llvmorg-3.3.0-rc1 |
|
#
508baf79 |
| 23-Jan-2013 |
NAKAMURA Takumi <geek4civic@gmail.com> |
llvm/unittests: Use OwningPtr to fix --vg-leak.
llvm-svn: 173240
|
#
afda71e9 |
| 23-Jan-2013 |
NAKAMURA Takumi <geek4civic@gmail.com> |
DominatorTreeTest.cpp: Add the file header.
llvm-svn: 173233
|
#
74b6a77d |
| 07-Jan-2013 |
Chandler Carruth <chandlerc@gmail.com> |
Rename the VMCore unittest tree to IR. Somehow was missed when doing the library rename.
llvm-svn: 171747
|