commit | 75ce6bba4e612b2fa474a0772cc2331c909b95f7 | [log] [tgz] |
---|---|---|
author | David Majnemer <david.majnemer@gmail.com> | Mon Jun 01 00:15:08 2015 +0000 |
committer | David Majnemer <david.majnemer@gmail.com> | Mon Jun 01 00:15:08 2015 +0000 |
tree | f664743822de73e8f0f65e4fd3e7aca1c64284fb | |
parent | 5a130506287bd2e0ea8f8089a4091e60ea154729 [diff] |
[PHITransAddr] Don't translate unreachable values Unreachable values may use themselves in strange ways due to their dominance property. Attempting to translate through them can lead to infinite recursion, crashing LLVM. Instead, claim that we weren't able to translate the value. This fixes PR23096. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@238702 91177308-0d34-0410-b5e6-96231b3b80d8