Model ARM predicated write as read-mod-write. e.g.
authorEvan Cheng <evan.cheng@apple.com>
Wed, 14 Dec 2011 20:00:08 +0000 (20:00 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Wed, 14 Dec 2011 20:00:08 +0000 (20:00 +0000)
commit020f4106f820648fd7e91956859844a80de13974
treecdf6a36ab7bed9a0c468813406c2d3403997e886
parente90ac9bce9aa6de288568df9bf6133c08534ae2f
Model ARM predicated write as read-mod-write. e.g.
r0 = mov #0
r0 = moveq #1

Then the second instruction has an implicit data dependency on the first
instruction. Sadly I have yet to come up with a small test case that
demonstrate the post-ra scheduler taking advantage of this.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@146583 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Target/TargetInstrInfo.h
lib/CodeGen/ScheduleDAGInstrs.cpp
lib/Target/ARM/ARMBaseInstrInfo.cpp
lib/Target/ARM/ARMBaseInstrInfo.h