Prevent renaming of CR fields in AADB when a CR restore is present
authorNemanja Ivanovic <nemanja.i.ibm@gmail.com>
Fri, 8 Jan 2016 13:09:54 +0000 (13:09 +0000)
committerNemanja Ivanovic <nemanja.i.ibm@gmail.com>
Fri, 8 Jan 2016 13:09:54 +0000 (13:09 +0000)
commit2a613d664f38429d4ef45d56987612b4d0230eb8
tree3094ad8fd0a4cf7c2d6e8e5fa305d3fb5a927b8b
parentb999767c2e737eeea421dd7290c8bbfc27a16cdc
Prevent renaming of CR fields in AADB when a CR restore is present

This patch corresponds to review:
http://reviews.llvm.org/D15930

Moves to and from CR fields depend on shifts/masks that depend on the
target/source CR field. Thus, post-ra anti-dep breaking must not later
change that CR register assignment.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@257168 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/PowerPC/PPCInstr64Bit.td
lib/Target/PowerPC/PPCInstrInfo.td