bswapped load/store instructions are only availble in indexed addressing form.
authorChris Lattner <sabre@nondot.org>
Wed, 19 Jul 2006 17:15:36 +0000 (17:15 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 19 Jul 2006 17:15:36 +0000 (17:15 +0000)
commit2a785500e03e22dd91824327fbf4b1f6d29dbf53
tree2fe92de2c40500e22e17edc7a66255786317ca99
parent52379111e8ed0d3726e33c36b9a787b1f5b9917c
bswapped load/store instructions are only availble in indexed addressing form.
As such, use xoaddr (indexed only), not xaddr for address selection.

This fixes CodeGen/PowerPC/2006-07-19-stwbrx-crash.ll, a crash compiling lencod.

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