[all-commits] [llvm/llvm-project] 9082c1: [Support] Add KnownBits::concat method
Simon Pilgrim via All-commits
all-commits at lists.llvm.org
Fri Jul 29 03:07:07 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 9082c131061c7391bf372fcca52031ed8b945f89
https://github.com/llvm/llvm-project/commit/9082c131061c7391bf372fcca52031ed8b945f89
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2022-07-29 (Fri, 29 Jul 2022)
Changed paths:
M llvm/include/llvm/Support/KnownBits.h
M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
M llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
M llvm/unittests/Support/KnownBitsTest.cpp
Log Message:
-----------
[Support] Add KnownBits::concat method
Add a method for the various cases where we need to concatenate 2 KnownBits together (BUILD_PAIR and SHIFT_PARTS in particular) - uses the existing APInt::concat 'HiBits.concat(LoBits)' convention
Differential Revision: https://reviews.llvm.org/D130557
More information about the All-commits
mailing list