AArch64: fix vector-immediate BIC/ORR on big-endian devices.
authorTim Northover <tnorthover@apple.com>
Thu, 4 Sep 2014 15:05:24 +0000 (15:05 +0000)
committerTim Northover <tnorthover@apple.com>
Thu, 4 Sep 2014 15:05:24 +0000 (15:05 +0000)
commit8dcac5d77a51795068e9205c2a6dfef9e0f92602
tree4ede50eb37e1d44e80d46ca7ef27a8af4f953d8a
parentd3a511ec07d6e35158547125bf36b068193bed4a
AArch64: fix vector-immediate BIC/ORR on big-endian devices.

Follow up to r217138, extending the logic to other NEON-immediate instructions.
As before, the instruction already performs the correct operation and we're
just using a different type for convenience, so we want a true nop-cast.

Patch by Asiri Rathnayake.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@217159 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AArch64/AArch64ISelLowering.cpp
lib/Target/AArch64/AArch64InstrInfo.td
test/CodeGen/AArch64/aarch64-be-bv.ll