[P10] Fix the implementation for BRH
authorLei Huang <lei@ca.ibm.com>
Fri, 13 Jan 2023 15:42:38 +0000 (09:42 -0600)
committerLei Huang <lei@ca.ibm.com>
Mon, 16 Jan 2023 19:53:43 +0000 (13:53 -0600)
commitee559b21b961c2889837c349b73e08a7b5dafa55
tree330f594fa37ddfe5e348597ce1fe1009ce09bb9f
parentee7188c8b2ab06e740470cee368b137e0781958c
[P10] Fix the implementation for BRH

Fixes the patterns for the brh instruction to include a clrldi when emitted.

Reviewed By: amyk

Differential Revision: https://reviews.llvm.org/D141697
llvm/lib/Target/PowerPC/PPCInstrP10.td
llvm/test/CodeGen/PowerPC/p10-bswap.ll