[all-commits] [llvm/llvm-project] 57c3fe: [x86] favor vector constant load to avoid GPR to X...
RotateRight via All-commits
all-commits at lists.llvm.org
Sun May 17 08:57:38 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 57c3fe76a31663526c78ed6ac3bbb34858c823d2
https://github.com/llvm/llvm-project/commit/57c3fe76a31663526c78ed6ac3bbb34858c823d2
Author: Sanjay Patel <spatel at rotateright.com>
Date: 2020-05-17 (Sun, 17 May 2020)
Changed paths:
M llvm/lib/Target/X86/X86ISelLowering.cpp
M llvm/test/CodeGen/X86/combine-udiv.ll
M llvm/test/CodeGen/X86/packss.ll
M llvm/test/CodeGen/X86/pshufb-mask-comments.ll
M llvm/test/CodeGen/X86/ret-mmx.ll
M llvm/test/CodeGen/X86/sad.ll
M llvm/test/CodeGen/X86/srem-seteq-vec-nonsplat.ll
M llvm/test/CodeGen/X86/urem-seteq-vec-nonsplat.ll
M llvm/test/CodeGen/X86/vec_set-A.ll
M llvm/test/CodeGen/X86/vec_shift2.ll
M llvm/test/CodeGen/X86/vector-lzcnt-128.ll
M llvm/test/CodeGen/X86/vector-shuffle-256-v32.ll
M llvm/test/CodeGen/X86/vector-tzcnt-128.ll
M llvm/test/CodeGen/X86/vmovq.ll
Log Message:
-----------
[x86] favor vector constant load to avoid GPR to XMM transfer
This build vector lowering pattern came up in D79886.
I've tried to limit the improvement to cases where it looks
clearly better to load, but we could remove the 'TODO'
predicates already if we are willing to overlook some
corner cases.
Differential Revision: https://reviews.llvm.org/D80013
More information about the All-commits
mailing list