Skip to content
Commit 7ff83196 authored by Evan Cheng's avatar Evan Cheng
Browse files

- Add TargetInstrInfo::isIdentical(). It's similar to MachineInstr::isIdentical

  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
parent 554e857c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment