aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorMichael Kuperstein <michael.m.kuperstein@intel.com>2016-01-06 18:40:11 +0000
committerMichael Kuperstein <michael.m.kuperstein@intel.com>2016-01-06 18:40:11 +0000
commit037c9984dbabe777f40a720e76b687a6c6dae581 (patch)
treed091c8abf580ac62dda53e6667e620d0eaf06dc5 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parentb243c95c6ab25a84bc01d06f71a8a8b87c6e0b5b (diff)
downloadllvm-037c9984dbabe777f40a720e76b687a6c6dae581.zip
llvm-037c9984dbabe777f40a720e76b687a6c6dae581.tar.gz
llvm-037c9984dbabe777f40a720e76b687a6c6dae581.tar.bz2
[ShrinkWrap] Fix FindIDom to only have one kind of failure.
FindIDom() can fail in two different ways - it can either return nullptr or the block itself, depending on the circumstances. Some users of FindIDom() check one error condition, while others check the other. Change it to always return nullptr on failure. This fixes PR26004. Differential Revision: http://reviews.llvm.org/D15847 llvm-svn: 256955
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions