[all-commits] [llvm/llvm-project] 44c9ad: [LoopFlatten][LoopInfo] Use Loop to identify latch...
RosieSumpter via All-commits
all-commits at lists.llvm.org
Wed Jul 21 02:16:13 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 44c9adb414ad54d4ad3b95d7c774de6293fb4680
https://github.com/llvm/llvm-project/commit/44c9adb414ad54d4ad3b95d7c774de6293fb4680
Author: Rosie Sumpter <rosie.sumpter at arm.com>
Date: 2021-07-21 (Wed, 21 Jul 2021)
Changed paths:
M llvm/include/llvm/Analysis/LoopInfo.h
M llvm/lib/Analysis/LoopInfo.cpp
M llvm/lib/Transforms/Scalar/LoopFlatten.cpp
Log Message:
-----------
[LoopFlatten][LoopInfo] Use Loop to identify latch compare instruction
Make getLatchCmpInst non-static and use it in LoopFlatten as a more
robust way of identifying the compare.
Differential Revision: https://reviews.llvm.org/D106256
More information about the All-commits
mailing list