[llvm] [SelectionDAG] Move INSERT_SUBVECTOR sign bits logic into SignBitsOps (NFC) (PR #226896)

via llvm-commits llvm-commits at lists.llvm.org
Sun Sep 27 23:51:31 PDT 2026


llvmorg-github-actions[bot] wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-llvm-support

Author: Pkuyo (pkuyo)

<details>
<summary>Changes</summary>

Factor the INSERT_SUBVECTOR ComputeNumSignBits logic into SignBitsOps::insertSubvector so the GlobalISel side (#<!-- -->220976) can share it.  (NFC)

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


3 Files Affected:

- (modified) llvm/include/llvm/Support/KnownBits.h (+12) 
- (modified) llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp (+6-23) 
- (modified) llvm/lib/Support/KnownBits.cpp (+39) 


``````````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/226896


More information about the llvm-commits mailing list