[llvm] a385645 - [RISCV] Regenerate rv32zbp-zbkb.ll
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Sat May 7 13:30:00 PDT 2022
Author: Simon Pilgrim
Date: 2022-05-07T21:29:36+01:00
New Revision: a385645b470e2d3a1534aae618ea56b31177639f
URL: https://github.com/llvm/llvm-project/commit/a385645b470e2d3a1534aae618ea56b31177639f
DIFF: https://github.com/llvm/llvm-project/commit/a385645b470e2d3a1534aae618ea56b31177639f.diff
LOG: [RISCV] Regenerate rv32zbp-zbkb.ll
Noticed in D124839
Added:
Modified:
llvm/test/CodeGen/RISCV/rv32zbp-zbkb.ll
Removed:
################################################################################
diff --git a/llvm/test/CodeGen/RISCV/rv32zbp-zbkb.ll b/llvm/test/CodeGen/RISCV/rv32zbp-zbkb.ll
index 31e8c8909ccca..10a8ce6479a42 100644
--- a/llvm/test/CodeGen/RISCV/rv32zbp-zbkb.ll
+++ b/llvm/test/CodeGen/RISCV/rv32zbp-zbkb.ll
@@ -14,6 +14,11 @@ define i32 @pack_i32(i32 %a, i32 %b) nounwind {
; RV32I-NEXT: slli a1, a1, 16
; RV32I-NEXT: or a0, a1, a0
; RV32I-NEXT: ret
+;
+; RV32ZBP-ZBKB-LABEL: pack_i32:
+; RV32ZBP-ZBKB: # %bb.0:
+; RV32ZBP-ZBKB-NEXT: pack a0, a0, a1
+; RV32ZBP-ZBKB-NEXT: ret
%shl = and i32 %a, 65535
%shl1 = shl i32 %b, 16
%or = or i32 %shl1, %shl
More information about the llvm-commits
mailing list