summaryrefslogtreecommitdiffstats
path: root/llvm/test/Bitcode
diff options
context:
space:
mode:
authorPhilip Reames <listmail@philipreames.com>2019-04-17 17:37:58 +0000
committerPhilip Reames <listmail@philipreames.com>2019-04-17 17:37:58 +0000
commit88679717ce44dc31dcb87dc5f0206e9e3348001a (patch)
treed65ff3fed9038e0df58437fb270692ccc7d04f7d /llvm/test/Bitcode
parent203958100289f8273bf4bce1a7239cba9e707264 (diff)
downloadbcm5719-llvm-88679717ce44dc31dcb87dc5f0206e9e3348001a.tar.gz
bcm5719-llvm-88679717ce44dc31dcb87dc5f0206e9e3348001a.zip
[InstCombine] Factor out unreachable inst idiom creation [NFC]
In InstCombine, we use an idiom of "store i1 true, i1 undef" to indicate we've found a path which we've proven unreachable. We can't actually insert the unreachable instruction since that would require changing the CFG. We leave that to simplifycfg later. This just factors out that idiom creation so we don't duplicate the same mostly undocument idiom creation in multiple places. llvm-svn: 358600
Diffstat (limited to 'llvm/test/Bitcode')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud