Skip to content
  • Evan Cheng's avatar
    - Add TargetInstrInfo::isIdentical(). It's similar to MachineInstr::isIdentical · 7ff83196
    Evan Cheng authored
      except it doesn't care if the definitions' virtual registers differ. This is
      used by machine LICM and other MI passes to perform CSE.
    - Teach Thumb2InstrInfo::isIdentical() to check two t2LDRpci_pic are identical.
      Since pc relative constantpool entries are always different, this requires it
      it check if the values can actually the same.
    
    llvm-svn: 86328
    7ff83196
Loading