[PATCH] D121320: X86ISelDAGToDAG: Transform TEST + MOV64ri to SHR + TEST

Matthias Braun via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 15 10:27:18 PDT 2022


MatzeB updated this revision to Diff 415492.
MatzeB added a comment.

rebase; add extra `hasOneUseCheck` for the constant.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D121320

Files:
  llvm/lib/Target/X86/X86ISelDAGToDAG.cpp
  llvm/test/CodeGen/X86/cmp.ll
  llvm/test/CodeGen/X86/hoist-and-by-const-from-lshr-in-eqcmp-zero.ll
  llvm/test/CodeGen/X86/hoist-and-by-const-from-shl-in-eqcmp-zero.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D121320.415492.patch
Type: text/x-patch
Size: 7594 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220315/754f50d9/attachment.bin>


More information about the llvm-commits mailing list