commit | 6fe73bbcf3b6c1ddfd5e70e8b5188f8df439ace6 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Mon Jan 19 00:36:37 2009 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Mon Jan 19 00:36:37 2009 +0000 |
tree | 35792f081a7ed8c2b93ea73b776169dcd540cd78 | |
parent | 9dd3b610dcb17f88ed52ae03022179bf21e0e132 [diff] |
Fix some problems in SpeculativelyExecuteBB. Basically, because of dead code, a phi could use the speculated instruction that was not in "BB2". Make this check explicit and tighten up some other corners. This fixes PR3292. No testcase becauase this depends entirely on visitation order of blocks and requires a sequence of 8 passes to repro. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62476 91177308-0d34-0410-b5e6-96231b3b80d8