[all-commits] [llvm/llvm-project] a3ea90: [PowerPC] Do not increase cost for getUserCost wit...
Nemanja Ivanovic via All-commits
all-commits at lists.llvm.org
Tue Dec 21 11:41:14 PST 2021
Author: Nemanja Ivanovic <nemanja.i.ibm at gmail.com>
Date: 2021-12-21 (Tue, 21 Dec 2021)
[PowerPC] Do not increase cost for getUserCost with MMA types
Commit 150681f increases
cost of producing MMA types (vector pair and quad).
However, it increases the cost for getUserCost() which is
used in unrolling. As a result, loops that contain these
types already (from the user code) cannot be unrolled
(even with the user's unroll pragma). This was an unintended
sideeffect. Reverting that portion of the commit to allow
unrolling such loops.
Differential revision: https://reviews.llvm.org/D115424
More information about the All-commits