[PATCH] D130953: [X86] Eliminate redundant movzbl instruction.

LuoYuanke via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 1 18:30:28 PDT 2022


LuoYuanke created this revision.
Herald added subscribers: pengfei, hiraditya.
Herald added a project: All.
LuoYuanke requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

The movzbl instruction can be combined to vpinsrb or vmovd, when it is
actual lowered from anyext.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D130953

Files:
  llvm/lib/Target/X86/X86InstrSSE.td
  llvm/test/CodeGen/X86/avx-intrinsics-fast-isel.ll
  llvm/test/CodeGen/X86/avx512-intrinsics-upgrade.ll
  llvm/test/CodeGen/X86/avx512vl-intrinsics-upgrade.ll
  llvm/test/CodeGen/X86/bitcast-int-to-vector-bool.ll
  llvm/test/CodeGen/X86/load-scalar-as-vector.ll
  llvm/test/CodeGen/X86/pr15267.ll
  llvm/test/CodeGen/X86/setcc-lowering.ll
  llvm/test/CodeGen/X86/sse2-intrinsics-fast-isel.ll
  llvm/test/CodeGen/X86/sse41-intrinsics-fast-isel.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D130953.449160.patch
Type: text/x-patch
Size: 79682 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220802/f97b15a7/attachment.bin>


More information about the llvm-commits mailing list