Skip to content
  • Gabor Greif's avatar
    Simplify the logic of getting hold of a PHI predecessor block. · eb61fcf2
    Gabor Greif authored
    There is now a direct way from value-use-iterator to incoming block in PHINode's API.
    This way we avoid the iterator->index->iterator trip, and especially the costly
    getOperandNo() invocation. Additionally there is now an assertion that the iterator
    really refers to one of the PHI's Uses.
    
    llvm-svn: 62869
    eb61fcf2
Loading