OSDN Git Service

Model the carry bit on ppc32. Without this we could
authorDale Johannesen <dalej@apple.com>
Fri, 18 Sep 2009 20:15:22 +0000 (20:15 +0000)
committerDale Johannesen <dalej@apple.com>
Fri, 18 Sep 2009 20:15:22 +0000 (20:15 +0000)
commit8dffc819c5f4326700262e7d1ff906d0d44ca906
treee90ff366c9ca3dac7230f43eb926583ceca597cc
parente220c4b3d97bbdc9f6e8cf040942514612349c41
Model the carry bit on ppc32.  Without this we could
move a SUBFC (etc.) below the SUBFE (etc.) that consumed
the carry bit.  Add missing ADDIC8, noticed along the way.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82266 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/PowerPC/PPCInstr64Bit.td
lib/Target/PowerPC/PPCInstrInfo.td
lib/Target/PowerPC/PPCRegisterInfo.td
test/CodeGen/PowerPC/2009-09-18-carrybit.ll [new file with mode: 0644]