[PowerPC] Generate pre-increment floating-point ld/st instructions
authorHal Finkel <hfinkel@anl.gov>
Thu, 5 Feb 2015 18:42:53 +0000 (18:42 +0000)
committerHal Finkel <hfinkel@anl.gov>
Thu, 5 Feb 2015 18:42:53 +0000 (18:42 +0000)
commit885b67a5c38222ef0523f83cc2e8bf6f151c264a
treed6e1dcd9110f1dba824ebe4499b16f48ea03d1f4
parent5e00f0d72db380ce5baef85b2addb9a57be5d897
[PowerPC] Generate pre-increment floating-point ld/st instructions

PowerPC supports pre-increment floating-point load/store instructions, both r+r
and r+i, and we had patterns for them, but they were not marked as legal. Mark
them as legal (and add a test case).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@228327 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/PowerPC/PPCISelLowering.cpp
test/CodeGen/PowerPC/flt-preinc.ll [new file with mode: 0644]