[all-commits] [llvm/llvm-project] 229dfb: [CodeGen] Replace calls to getVectorNumElements() ...
david-arm via All-commits
all-commits at lists.llvm.org
Fri Jul 10 00:11:57 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 229dfb4728f45cf9607aaa564155c267f3a0f59c
https://github.com/llvm/llvm-project/commit/229dfb4728f45cf9607aaa564155c267f3a0f59c
Author: David Sherwood <david.sherwood at arm.com>
Date: 2020-07-10 (Fri, 10 Jul 2020)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
Log Message:
-----------
[CodeGen] Replace calls to getVectorNumElements() in SelectionDAG::SplitVector
This patch replaces some invalid calls to getVectorNumElements() with calls
to getVectorMinNumElements() instead, since the code paths changed in this
patch work for both fixed and scalable vector types.
Fixes warnings in this test:
sve-sext-zext.ll
Differential Revision: https://reviews.llvm.org/D83203
More information about the All-commits
mailing list