[PATCH] D111530: [TargetLowering] Optimize expanded SRL/SHL fed into SETCC ne/eq 0

Filipp Zhinkin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 12 09:50:12 PST 2022


fzhinkin updated this revision to Diff 399363.
fzhinkin added a comment.

Reordered MergeConcat and optimizeSetCCOfExpandedShift optimizations.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D111530/new/

https://reviews.llvm.org/D111530

Files:
  llvm/include/llvm/CodeGen/TargetLowering.h
  llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
  llvm/test/CodeGen/AArch64/icmp-shift-opt.ll
  llvm/test/CodeGen/ARM/consthoist-icmpimm.ll
  llvm/test/CodeGen/ARM/icmp-shift-opt.ll
  llvm/test/CodeGen/X86/icmp-shift-opt.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D111530.399363.patch
Type: text/x-patch
Size: 23512 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220112/28eec192/attachment.bin>


More information about the llvm-commits mailing list