[all-commits] [llvm/llvm-project] d30e94: [DAG] Add SelectionDAG::getShiftAmountConstant API...
Simon Pilgrim via All-commits
all-commits at lists.llvm.org
Tue Feb 13 00:06:27 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d30e941a03f7e70fb7875ede7b5d80342982e3a8
https://github.com/llvm/llvm-project/commit/d30e941a03f7e70fb7875ede7b5d80342982e3a8
Author: Simon Pilgrim <RKSimon at users.noreply.github.com>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
M llvm/include/llvm/CodeGen/SelectionDAG.h
M llvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
Log Message:
-----------
[DAG] Add SelectionDAG::getShiftAmountConstant APInt variant (#81484)
Asserts that the shift amount is in range and update ExpandShiftByConstant to use getShiftAmountConstant (and legal shift amount types).
More information about the All-commits
mailing list