Skip to content
  • Hal Finkel's avatar
    Fix crash in AggressiveAntiDepBreaker with empty CriticalPathSet · 6f1ff8e1
    Hal Finkel authored
    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
    6f1ff8e1
Loading