1 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2 ; RUN: llc -mtriple=riscv32 -mattr=+experimental-zbe -verify-machineinstrs < %s \
3 ; RUN: | FileCheck %s -check-prefix=RV32ZBE
5 declare i32 @llvm.riscv.bcompress.i32(i32 %a, i32 %b)
7 define i32 @bcompress32(i32 %a, i32 %b) nounwind {
8 ; RV32ZBE-LABEL: bcompress32:
10 ; RV32ZBE-NEXT: bcompress a0, a0, a1
12 %tmp = call i32 @llvm.riscv.bcompress.i32(i32 %a, i32 %b)
16 declare i32 @llvm.riscv.bdecompress.i32(i32 %a, i32 %b)
18 define i32 @bdecompress32(i32 %a, i32 %b) nounwind {
19 ; RV32ZBE-LABEL: bdecompress32:
21 ; RV32ZBE-NEXT: bdecompress a0, a0, a1
23 %tmp = call i32 @llvm.riscv.bdecompress.i32(i32 %a, i32 %b)