diff options
author | QingShan Zhang <qshanz@cn.ibm.com> | 2019-12-23 07:41:31 +0000 |
---|---|---|
committer | QingShan Zhang <qshanz@cn.ibm.com> | 2019-12-23 07:44:33 +0000 |
commit | 6d5e35e89d73711b494c83d3f8b68582d06a0b53 (patch) | |
tree | 6d44fe72ff166824c9be318abb9c5740b3f667b7 /llvm/test/CodeGen/PowerPC | |
parent | 3654ed21ee73f5a4f6e4b3e8ddfc8780a15a9b3d (diff) | |
download | bcm5719-llvm-6d5e35e89d73711b494c83d3f8b68582d06a0b53.tar.gz bcm5719-llvm-6d5e35e89d73711b494c83d3f8b68582d06a0b53.zip |
[Power9] Remove the PPCISD::XXREVERSE as it has completely the same semantics of ISD::BSWAP
The custom node PPCISD::XXREVERSE has completely the same semantics of generic node ISD::BSWAP.
We need to clean up it as we have the combine rules for bswap in the base class, while nothing for xxreverse.
Differential Revision: https://reviews.llvm.org/D70657
Diffstat (limited to 'llvm/test/CodeGen/PowerPC')
-rw-r--r-- | llvm/test/CodeGen/PowerPC/vec_revb.ll | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/llvm/test/CodeGen/PowerPC/vec_revb.ll b/llvm/test/CodeGen/PowerPC/vec_revb.ll index fc19c849a58..644b4e1f5a7 100644 --- a/llvm/test/CodeGen/PowerPC/vec_revb.ll +++ b/llvm/test/CodeGen/PowerPC/vec_revb.ll @@ -57,9 +57,8 @@ entry: define <4 x i32> @testXXBRD_With_LogicalOp(<4 x i32> %a, <4 x i32> %b) { ; CHECK-LABEL: testXXBRD_With_LogicalOp: ; CHECK: # %bb.0: # %entry -; CHECK-NEXT: xxbrw 0, 34 -; CHECK-NEXT: xxbrw 1, 35 -; CHECK-NEXT: xxland 34, 0, 1 +; CHECK-NEXT: xxland 0, 34, 35 +; CHECK-NEXT: xxbrw 34, 0 ; CHECK-NEXT: blr entry: %0 = bitcast <4 x i32> %a to <16 x i8> |