[PATCH] D130953: [X86] Eliminate redundant movzbl instruction.
LuoYuanke via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Oct 15 17:03:36 PDT 2022
LuoYuanke added inline comments.
================
Comment at: llvm/test/CodeGen/X86/avx-intrinsics-fast-isel.ll:2141
-; X64-NEXT: vpinsrb $1, %eax, %xmm1, %xmm1
-; X64-NEXT: movzbl %dl, %eax
-; X64-NEXT: vpinsrb $2, %eax, %xmm1, %xmm1
----------------
@craig.topper, I am wondering why we keep movzbl before vpinsrb and vmovd. Is it used deliberately to eliminate partially register stall?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D130953/new/
https://reviews.llvm.org/D130953
More information about the llvm-commits
mailing list