[all-commits] [llvm/llvm-project] 22cdc6: [llvm] Use llvm::bit_ceil instead of PowerOf2Ceil ...
kazutakahirata via All-commits
all-commits at lists.llvm.org
Wed Jan 25 00:05:48 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 22cdc6a12613e2df2d216ff8f042b1e7ab4cd861
https://github.com/llvm/llvm-project/commit/22cdc6a12613e2df2d216ff8f042b1e7ab4cd861
Author: Kazu Hirata <kazu at google.com>
Date: 2023-01-25 (Wed, 25 Jan 2023)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
M llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
M llvm/lib/Target/X86/X86ISelLowering.cpp
Log Message:
-----------
[llvm] Use llvm::bit_ceil instead of PowerOf2Ceil (NFC)
The arguments to PowerOf2Ceil in this patch are all known to be
nonzero, so we can safely use llvm::bit_ceil here.
More information about the All-commits
mailing list