Skip to content
  • Dan Gohman's avatar
    Fix MachineLICM to use the correct virtual register class when · 49fa51d9
    Dan Gohman authored
    unfolding loads for hoisting.  getOpcodeAfterMemoryUnfold returns the
    opcode of the original operation without the load, not the load
    itself, MachineLICM needs to know the operand index in order to get
    the correct register class. Extend getOpcodeAfterMemoryUnfold to
    return this information.
    
    llvm-svn: 85622
    49fa51d9
Loading