[all-commits] [llvm/llvm-project] 4017d0: [X86] Use EVT::getVectorVT instead of changeVector...
Craig Topper via All-commits
all-commits at lists.llvm.org
Mon Jun 14 22:07:26 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 4017d0335a35334835bfae6fc3e258adcd9ed2dc
https://github.com/llvm/llvm-project/commit/4017d0335a35334835bfae6fc3e258adcd9ed2dc
Author: Craig Topper <craig.topper at sifive.com>
Date: 2021-06-14 (Mon, 14 Jun 2021)
Changed paths:
M llvm/lib/Target/X86/X86ISelLowering.cpp
A llvm/test/CodeGen/X86/pr50709.ll
Log Message:
-----------
[X86] Use EVT::getVectorVT instead of changeVectorElementType in reduceVMULWidth.
Changing vector element type doesn't work for v6i32->v6i16 now
that v6i32 is an MVT and v6i16 is not.
I would like to fix this in changeVectorElementType, but you
need a LLVMContext to call getVectorVT which we can't get from
an MVT.
Fixes PR50709.
More information about the All-commits
mailing list