summaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorHal Finkel <hfinkel@anl.gov>2013-09-12 04:22:31 +0000
committerHal Finkel <hfinkel@anl.gov>2013-09-12 04:22:31 +0000
commit6f1ff8e1a8344c297d740c3e95b317a5746abb14 (patch)
treea7eca5ef48872ed5b3b80f65d56a1146144d7bcc /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent3cd37e6456516f87ada06192c108d66cdf6a2d93 (diff)
Fix crash in AggressiveAntiDepBreaker with empty CriticalPathSet
If no register classes are added to CriticalPathRCs, then the CriticalPathSet bitmask will be empty. In that case, ExcludeRegs must remain NULL or else this line will cause a segfault: } else if ((ExcludeRegs != NULL) && ExcludeRegs->test(AntiDepReg)) { I have no in-tree test case. llvm-svn: 190584
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions