[all-commits] [llvm/llvm-project] 0de8ae: [VPlan] Support to widen select intructions in VPl...
Florian Hahn via All-commits
all-commits at lists.llvm.org
Wed Mar 10 13:00:47 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 0de8aeae7249d314f25b5188c91b04b9a24003ad
https://github.com/llvm/llvm-project/commit/0de8aeae7249d314f25b5188c91b04b9a24003ad
Author: Mauri Mustonen <mauri.mustonen at tuni.fi>
Date: 2021-03-10 (Wed, 10 Mar 2021)
Changed paths:
M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
M llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
M llvm/lib/Transforms/Vectorize/VPlanTransforms.h
A llvm/test/Transforms/LoopVectorize/vplan-widen-select-instruction.ll
M llvm/unittests/Transforms/Vectorize/VPlanHCFGTest.cpp
M llvm/unittests/Transforms/Vectorize/VPlanTestBase.h
Log Message:
-----------
[VPlan] Support to widen select intructions in VPlan native path
Add support to widen select instructions in VPlan native path by using a correct recipe when such instructions are encountered. This is already used by inner loop vectorizer.
Previously select instructions get handled by the wrong recipe and resulted in unreachable instruction errors like this one: https://bugs.llvm.org/show_bug.cgi?id=48139.
Reviewed By: fhahn
Differential Revision: https://reviews.llvm.org/D97136
More information about the All-commits
mailing list