[PPC CodeGen] Fix the bitreverse.i64 intrinsic.
authorFangrui Song <maskray@google.com>
Sat, 21 Oct 2017 16:59:40 +0000 (16:59 +0000)
committerFangrui Song <maskray@google.com>
Sat, 21 Oct 2017 16:59:40 +0000 (16:59 +0000)
commitc7b749bd06824ad9bfb81bc159496b5361cd1ea5
tree7198b6eeb5997510eb78a4df0835725ee6901e8a
parent2b3bc4ce2b5383d1ee5a46edcaa2f72fd4126371
[PPC CodeGen] Fix the bitreverse.i64 intrinsic.

Summary: The two 32-bit words were swapped.

Subscribers: nemanjai, kbarton

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

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