[llvm] [RISCV][GlobalISel] Zbkb support for G_BSWAP (PR #77050)

Mikhail Gudim via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 4 23:00:19 PST 2024


================
@@ -2,6 +2,9 @@
 # RUN: llc -mtriple=riscv32 -mattr=+zbb -run-pass=instruction-select \
 # RUN:   -simplify-mir -verify-machineinstrs %s -o - \
 # RUN:   | FileCheck -check-prefix=RV32I %s
+# RUN: llc -mtriple=riscv32 -mattr=+zbkb -run-pass=instruction-select \
+# RUN:   -simplify-mir -verify-machineinstrs %s -o - \
+# RUN:   | FileCheck -check-prefix=RV32I %s
----------------
mgudim wrote:

Should we change the prefix here and in 64-bit version also to `RV...ZBB_OR_ZBKB`?

https://github.com/llvm/llvm-project/pull/77050


More information about the llvm-commits mailing list