commit | b3d59701c89a6e03a0e0909543f3e7bd9140900f | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Thu Jul 07 20:40:38 2005 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Thu Jul 07 20:40:38 2005 +0000 |
tree | f457b115f29fc6b67907aeafc9e9bcd15493004c | |
parent | 78e1a3c038ac9cd4fbf4b8522db2dcd513ba07b2 [diff] |
Fix a problem that instcombine would hit when dealing with unreachable code. Because the instcombine has to scan the entire function when it starts up to begin with, we might as well do it in DFO so we can nuke unreachable code. This fixes: Transforms/InstCombine/2005-07-07-DeadPHILoop.ll git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22348 91177308-0d34-0410-b5e6-96231b3b80d8