aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2020-06-12 11:30:00 +0100
committerSimon Pilgrim <llvm-dev@redking.me.uk>2020-06-12 11:59:01 +0100
commit8d30945ab96ab0d2a1e28b7668855b20ff258ccd (patch)
tree09984a0839c105bbabdc09de9353e2670b03204d /clang/lib/Frontend/CompilerInvocation.cpp
parent6196c379695ed8a6d0a2214d9107517ab55d4db7 (diff)
downloadllvm-8d30945ab96ab0d2a1e28b7668855b20ff258ccd.zip
llvm-8d30945ab96ab0d2a1e28b7668855b20ff258ccd.tar.gz
llvm-8d30945ab96ab0d2a1e28b7668855b20ff258ccd.tar.bz2
[X86][SSE] combineX86ShuffleChain - combine INSERT_VECTOR_ELT patterns to INSERTPS
Noticed while trying to cleanup D66004 - if a shuffle operand came from a scalar, we're better off using INSERTPS vs UNPCKLPS as this is more likely to load fold later on. It also matches our existing BUILD_VECTOR lowering. We can extend this to other PINSRB/D/Q/W cases in the future as the need arises.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions