[llvm] [RISCV] Remove redundant check for Subtarget.hasStdExtZbc(). NFC (PR #225152)

via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 21 10:55:18 PDT 2026


llvmorg-github-actions[bot] wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-backend-risc-v

Author: Craig Topper (topperc)

<details>
<summary>Changes</summary>

Zbc implies Zbkc so we only need to check Zbkc.

---
Full diff: https://github.com/llvm/llvm-project/pull/225152.diff


1 Files Affected:

- (modified) llvm/lib/Target/RISCV/RISCVISelLowering.cpp (+1-1) 


``````````diff
The server is unavailable at this time. Please wait a few minutes before you try again.
``````````

</details>


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


More information about the llvm-commits mailing list