[PATCH] D129933: [DAG] SimplifyDemandedBits - relax "xor (X >> ShiftC), XorC --> (not X) >> ShiftC" to match only demanded bits
Simon Pilgrim via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 18 07:29:56 PDT 2022
RKSimon updated this revision to Diff 445491.
RKSimon added a comment.
Hide the fold behind a isDesirableToCommuteXorWithShift TLI override (default - true)
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D129933/new/
https://reviews.llvm.org/D129933
Files:
llvm/include/llvm/CodeGen/TargetLowering.h
llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
llvm/lib/Target/AArch64/AArch64ISelLowering.h
llvm/lib/Target/ARM/ARMISelLowering.cpp
llvm/lib/Target/ARM/ARMISelLowering.h
llvm/test/CodeGen/Mips/bittest.ll
llvm/test/CodeGen/RISCV/bittest.ll
llvm/test/CodeGen/X86/speculative-load-hardening.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D129933.445491.patch
Type: text/x-patch
Size: 18292 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220718/c46fa59f/attachment.bin>
More information about the llvm-commits
mailing list