[all-commits] [llvm/llvm-project] fa6a28: [LoopInterchange] Enable interchange with multiple...
CongzheUalberta via All-commits
all-commits at lists.llvm.org
Fri Jan 14 13:31:18 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: fa6a2876c7e43fbb37c076dcf80ffe1ac22e49fc
https://github.com/llvm/llvm-project/commit/fa6a2876c7e43fbb37c076dcf80ffe1ac22e49fc
Author: Congzhe Cao <congzhe.cao at huawei.com>
Date: 2022-01-14 (Fri, 14 Jan 2022)
Changed paths:
M llvm/lib/Transforms/Scalar/LoopInterchange.cpp
A llvm/test/Transforms/LoopInterchange/interchangeable-innerloop-multiple-indvars.ll
Log Message:
-----------
[LoopInterchange] Enable interchange with multiple inner loop indvars
Currently loop interchange only supports loops with one inner loop
induction variable. This patch adds support for transformation with
more than one inner loop induction variables. The induction PHIs and
induction increment instructions are moved/duplicated properly to the
new outer header and the new outer latch, respectively.
Reviewed By: bmahjour
Differential Revision: https://reviews.llvm.org/D114917
More information about the All-commits
mailing list