[PATCH] D116522: [ValueTracking][SelectionDAG] Rename ComputeMinSignedBits->ComputeMaxSignedBits. NFC
Craig Topper via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Jan 2 23:44:35 PST 2022
craig.topper created this revision.
craig.topper added reviewers: lebedev.ri, RKSimon, spatel.
Herald added subscribers: foad, ecnelises, kerbowa, pengfei, hiraditya, nhaehnle, jvesely, arsenm.
craig.topper requested review of this revision.
Herald added a project: LLVM.
This function returns an upper bound on the number of bits needed
to represent the signed value. Use "Max" to match similar functions
in KnownBits like countMaxActiveBits.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D116522
Files:
llvm/include/llvm/Analysis/ValueTracking.h
llvm/include/llvm/CodeGen/SelectionDAG.h
llvm/include/llvm/Transforms/InstCombine/InstCombiner.h
llvm/lib/Analysis/ValueTracking.cpp
llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
llvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
llvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
llvm/lib/Target/X86/X86ISelLowering.cpp
llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D116522.397011.patch
Type: text/x-patch
Size: 12170 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220103/d4e03ac3/attachment.bin>
More information about the llvm-commits
mailing list