[all-commits] [llvm/llvm-project] 1a62ca: [KnownBits] Add KnownBits::commonBits helper. NFCI.
Simon Pilgrim via All-commits
all-commits at lists.llvm.org
Wed Nov 11 04:17:26 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 1a62ca65c1f5dfa7ce53d62dcfe261cfbc29c03f
https://github.com/llvm/llvm-project/commit/1a62ca65c1f5dfa7ce53d62dcfe261cfbc29c03f
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2020-11-11 (Wed, 11 Nov 2020)
Changed paths:
M llvm/include/llvm/Support/KnownBits.h
M llvm/lib/Analysis/ValueTracking.cpp
M llvm/lib/CodeGen/GlobalISel/GISelKnownBits.cpp
M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
M llvm/lib/Support/KnownBits.cpp
M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
M llvm/lib/Target/ARM/ARMISelLowering.cpp
M llvm/lib/Target/Lanai/LanaiISelLowering.cpp
M llvm/lib/Target/Sparc/SparcISelLowering.cpp
M llvm/lib/Target/SystemZ/SystemZISelLowering.cpp
M llvm/lib/Target/X86/X86ISelLowering.cpp
M llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
Log Message:
-----------
[KnownBits] Add KnownBits::commonBits helper. NFCI.
We have a frequent pattern where we're merging two KnownBits to get the common/shared bits, and I just fell for the gotcha where I tried to use the & operator to merge them........
More information about the All-commits
mailing list