[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 07:32:06 PDT 2019


lebedev.ri updated this revision to Diff 203143.
lebedev.ri marked an inline comment as done and an inline comment as not done.
lebedev.ri added a comment.

Add X86 AVX2 runlines, move `hasBitTest` definitions into `.cpp`


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/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.203143.patch
Type: text/x-patch
Size: 159788 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190605/7d22b41f/attachment-0001.bin>


More information about the llvm-commits mailing list