[all-commits] [llvm/llvm-project] 6dc3e2: [DAGTypeLegalizer] Handle ZERO_EXTEND of promoted ...
Jonas Paulsson via All-commits
all-commits at lists.llvm.org
Tue Sep 8 07:55:11 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 6dc3e22b575267d2ede36f741bb9eb2455f36cff
https://github.com/llvm/llvm-project/commit/6dc3e22b575267d2ede36f741bb9eb2455f36cff
Author: Jonas Paulsson <paulsson at linux.vnet.ibm.com>
Date: 2020-09-08 (Tue, 08 Sep 2020)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
M llvm/test/CodeGen/SystemZ/vec-zext.ll
Log Message:
-----------
[DAGTypeLegalizer] Handle ZERO_EXTEND of promoted type in WidenVecRes_Convert.
On SystemZ, a ZERO_EXTEND of an i1 vector handled by WidenVecRes_Convert()
always ended up being scalarized, because the type action of the input is
promotion which was previously an unhandled case in this method.
This fixes https://bugs.llvm.org/show_bug.cgi?id=47132.
Differential Revision: https://reviews.llvm.org/D86268
Patch by Eli Friedman.
Review: Ulrich Weigand
More information about the All-commits
mailing list