[all-commits] [llvm/llvm-project] c49194: [LV] Pick correct BB as insert point when fixing P...
Florian Hahn via All-commits
all-commits at lists.llvm.org
Sat Dec 7 11:32:59 PST 2019
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: c49194969430f0ee817498a7000a979a7a0ded03
https://github.com/llvm/llvm-project/commit/c49194969430f0ee817498a7000a979a7a0ded03
Author: Florian Hahn <flo at fhahn.com>
Date: 2019-12-07 (Sat, 07 Dec 2019)
Changed paths:
M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
A llvm/test/Transforms/LoopVectorize/SystemZ/predicated-first-order-recurrence.ll
Log Message:
-----------
[LV] Pick correct BB as insert point when fixing PHI for FORs.
Currently we fail to pick the right insertion point when
PreviousLastPart of a first-order-recurrence is a PHI node not in the
LoopVectorBody. This can happen when PreviousLastPart is produce in a
predicated block. In that case, we should pick the insertion point in
the BB the PHI is in.
Fixes PR44020.
Reviewers: hsaito, fhahn, Ayal, dorit
Reviewed By: Ayal
Differential Revision: https://reviews.llvm.org/D71071
More information about the All-commits
mailing list