[llvm] [RISCV][GlobalISel] Zbkb support for G_BSWAP (PR #77050)
Mikhail Gudim via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 5 13:56:08 PST 2024
================
@@ -2,7 +2,9 @@
# RUN: llc -mtriple=riscv32 -run-pass=legalizer %s -o - \
# RUN: | FileCheck %s --check-prefix=RV32I
# RUN: llc -mtriple=riscv32 -mattr=+zbb -run-pass=legalizer %s -o - \
-# RUN: | FileCheck %s --check-prefix=RV32ZBB
+# RUN: | FileCheck %s --check-prefix=RV32ZBB_OR_RV32ZBKB
----------------
mgudim wrote:
We are checking generated code in two scenarios: when zbb or zbkb is present and when it's not. So I think having these descriptions in the prefix is good.
https://github.com/llvm/llvm-project/pull/77050
More information about the llvm-commits
mailing list