[PATCH] D62871: [Codegen] (X & (C l>>/<< Y)) ==/!= 0 --> ((X <</l>> Y) & C) ==/!= 0 fold
Roman Lebedev via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 5 13:15:08 PDT 2019
lebedev.ri updated this revision to Diff 203236.
lebedev.ri marked 4 inline comments as done.
lebedev.ri added a comment.
Disable non-beneficial folds.
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D62871/new/
https://reviews.llvm.org/D62871
Files:
include/llvm/CodeGen/TargetLowering.h
lib/CodeGen/SelectionDAG/TargetLowering.cpp
lib/Target/AArch64/AArch64ISelLowering.cpp
lib/Target/AArch64/AArch64ISelLowering.h
lib/Target/Hexagon/HexagonISelLowering.cpp
lib/Target/Hexagon/HexagonISelLowering.h
lib/Target/X86/X86ISelLowering.cpp
lib/Target/X86/X86ISelLowering.h
test/CodeGen/AArch64/hoist-and-by-const-from-lshr-in-eqcmp-zero.ll
test/CodeGen/AArch64/hoist-and-by-const-from-shl-in-eqcmp-zero.ll
test/CodeGen/AMDGPU/commute-shifts.ll
test/CodeGen/ARM/hoist-and-by-const-from-lshr-in-eqcmp-zero.ll
test/CodeGen/ARM/hoist-and-by-const-from-shl-in-eqcmp-zero.ll
test/CodeGen/PowerPC/shift-cmp.ll
test/CodeGen/X86/hoist-and-by-const-from-lshr-in-eqcmp-zero.ll
test/CodeGen/X86/hoist-and-by-const-from-shl-in-eqcmp-zero.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D62871.203236.patch
Type: text/x-patch
Size: 154790 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190605/eecf14e3/attachment-0001.bin>
More information about the llvm-commits
mailing list