[PPC CodeGen] Fix the bitreverse.i64 intrinsic.
authorFangrui Song <maskray@google.com>
Mon, 30 Oct 2017 16:03:44 +0000 (16:03 +0000)
committerFangrui Song <maskray@google.com>
Mon, 30 Oct 2017 16:03:44 +0000 (16:03 +0000)
commit2696db90d1efa77c6857ceac645aa8fe9cebce6a
treeb0560445498ecb7b9f66df5760b3224adeff6a81
parent370331083496f9b8017eab44d1c67c9dd39fdfdd
[PPC CodeGen] Fix the bitreverse.i64 intrinsic.

Summary: The two 32-bit words were swapped. Update a test omitted in reverted r316270.

Reviewers: jtony, aaron.ballman

Subscribers: nemanjai, kbarton

Differential Revision: https://reviews.llvm.org/D39163

llvm-svn: 316916
llvm/lib/Target/PowerPC/PPCInstrInfo.td
llvm/test/CodeGen/PowerPC/pr33093.ll
llvm/test/CodeGen/PowerPC/testBitReverse.ll