[SelectionDAG] Widen vector results of SMULFIX/UMULFIX/SMULFIXSAT
authorBjorn Pettersson <bjorn.a.pettersson@ericsson.com>
Sun, 11 Aug 2019 19:27:06 +0000 (19:27 +0000)
committerBjorn Pettersson <bjorn.a.pettersson@ericsson.com>
Sun, 11 Aug 2019 19:27:06 +0000 (19:27 +0000)
commit27038a3780606cd6b7a0f122586643f21506c38f
tree66fd79c0eb7a76c83a7d32640cd129836660551b
parent10234da71d6aab25c82b1913829fed6ae3b408cc
[SelectionDAG] Widen vector results of SMULFIX/UMULFIX/SMULFIXSAT

Summary:
After the commits that changed x86 backend to widen vectors
instead of using promotion some of our downstream tests
started to fail. It was noticed that WidenVectorResult has
been missing support for SMULFIX/UMULFIX/SMULFIXSAT. This
patch adds the missing functionality.

Reviewers: craig.topper, RKSimon

Reviewed By: craig.topper

Subscribers: hiraditya, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D66051

llvm-svn: 368540
llvm/lib/CodeGen/SelectionDAG/LegalizeTypes.h
llvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
llvm/test/CodeGen/X86/vector-mulfix-legalize.ll [new file with mode: 0644]