[llvm] [RISCV][GISel] Support G_UMIN/UMAX/SMIN/SMAX legal with Zbb. (PR #72182)

Michael Maitland via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 13 17:05:00 PST 2023


================
@@ -1,5 +1,7 @@
 # NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
 # RUN: llc -mtriple=riscv32 -run-pass=legalizer %s -o - | FileCheck %s
+# RUN: llc -mtriple=riscv32 -mattr=+zbb -run-pass=legalizer %s -o - \
+# RUN:   | FileCheck %s --check-prefix=ZBB
----------------
michaelmaitland wrote:

What do you think about adding BOTH,NOZBB and BOTH,ZBB 
lines instead of duplicating check lines? I think in this test some of the functions in this test/PR will only use BOTH.

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


More information about the llvm-commits mailing list