diff options
author | Chris Lattner <sabre@nondot.org> | 2010-02-11 05:11:54 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-02-11 05:11:54 +0000 |
commit | c053cbbc4d4123060b1142538f2cdd658d26bbc8 (patch) | |
tree | 5dd3170a12671f3996c81ba0874ca5d88371ddcc /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | f492ece81ea1719fd035bd0054eefd9739a8feba (diff) | |
download | bcm5719-llvm-c053cbbc4d4123060b1142538f2cdd658d26bbc8.tar.gz bcm5719-llvm-c053cbbc4d4123060b1142538f2cdd658d26bbc8.zip |
Make DSE only scan blocks that are reachable from the entry
block. Other blocks may have pointer cycles that will crash
basicaa and other alias analyses. In any case, there is no
point wasting cycles optimizing dead blocks. This fixes
rdar://7635088
llvm-svn: 95852
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions