[all-commits] [llvm/llvm-project] 7e1530: [RISCV] Simplify scalable vector case in lowerVect...
Craig Topper via All-commits
all-commits at lists.llvm.org
Thu Mar 17 09:43:55 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 7e15303062b50bea80dca0e66e5bd7aff510ee35
https://github.com/llvm/llvm-project/commit/7e15303062b50bea80dca0e66e5bd7aff510ee35
Author: Craig Topper <craig.topper at sifive.com>
Date: 2022-03-17 (Thu, 17 Mar 2022)
Changed paths:
M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
Log Message:
-----------
[RISCV] Simplify scalable vector case in lowerVectorMaskExt.
Since we have SPLAT_VECTOR_PARTS these days, I don't think we need
to go through extra lengths to avoid introducing an illegal scalar type.
We can just call getConstant using the scalable vector type and let
it create either a SPLAT_VECTOR or a SPLAT_VECTOR_PARTS.
Reviewed By: frasercrmck, rogfer01
Differential Revision: https://reviews.llvm.org/D121645
More information about the All-commits
mailing list