[all-commits] [llvm/llvm-project] 9f5d78: [X86][SSE] combineScalarToVector - only reuse broa...
Simon Pilgrim via All-commits
all-commits at lists.llvm.org
Wed Jun 2 14:06:15 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 9f5d783d467523d6218a63883b45192c8a875c96
https://github.com/llvm/llvm-project/commit/9f5d783d467523d6218a63883b45192c8a875c96
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2021-06-02 (Wed, 02 Jun 2021)
Changed paths:
M llvm/lib/Target/X86/X86ISelLowering.cpp
A llvm/test/CodeGen/X86/pr50374.ll
Log Message:
-----------
[X86][SSE] combineScalarToVector - only reuse broadcasts for scalar_to_vector if the source operands scalar types match
We were hitting an issue when the scalar_to_vector source was being implicitly truncated (in this case to i8 to vXi1) but we were also using the i8 source in a broadcast to a vXi8 value.
Fixes PR50374
More information about the All-commits
mailing list