[all-commits] [llvm/llvm-project] b0536b: [LV] Do not try to sink dead instructions.
Florian Hahn via All-commits
all-commits at lists.llvm.org
Wed Jan 29 13:04:45 PST 2020
Branch: refs/heads/release/10.x
Home: https://github.com/llvm/llvm-project
Commit: b0536b58c1b40ac946bb653d13a63e4372c2ca17
https://github.com/llvm/llvm-project/commit/b0536b58c1b40ac946bb653d13a63e4372c2ca17
Author: Florian Hahn <flo at fhahn.com>
Date: 2020-01-29 (Wed, 29 Jan 2020)
Changed paths:
M llvm/lib/Transforms/Vectorize/LoopVectorizationPlanner.h
M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
M llvm/test/Transforms/LoopVectorize/first-order-recurrence.ll
Log Message:
-----------
[LV] Do not try to sink dead instructions.
Dead instructions do not need to be sunk. Currently we try and record
the recipies for them, but there are no recipes emitted for them and
there's nothing to sink. They can be removed from SinkAfter while
marking them for recording.
Fixes PR44634.
Reviewers: rengolin, hsaito, fhahn, Ayal, gilr
Reviewed By: gilr
Differential Revision: https://reviews.llvm.org/D73423
(cherry picked from commit a911fef3dd79e0a04b241be7b476dde7e99744c4)
More information about the All-commits
mailing list