aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorTobias Grosser <tobias@grosser.es>2015-12-21 09:09:44 +0000
committerTobias Grosser <tobias@grosser.es>2015-12-21 09:09:44 +0000
commit594882573e56291e19186724d42b8985cea7c3c2 (patch)
tree7b05fe27098e42b7ccd47790073e04e4757ffd17 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parentbfaf1ae30971a8f62341db03b77057be07b4799d (diff)
downloadllvm-594882573e56291e19186724d42b8985cea7c3c2.zip
llvm-594882573e56291e19186724d42b8985cea7c3c2.tar.gz
llvm-594882573e56291e19186724d42b8985cea7c3c2.tar.bz2
ScopInfo: Return immediately if scop is unprofitable and marked invalid
As we already log an error when calling invalid, scops unprofitable scops are in any case marked invalid, but returning immediately safes (a tiny bit of) compile time and is consistent with our use of 'invalid' in the remainder of the file. Found by inspection. llvm-svn: 256140
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions