[PATCH] D45420: [NFC] [LoopUtil] Moved RecurrenceDescriptor/LoopDescriptor from Transform/Utils/LoopUtils.* to Analysis tree

Hideki Saito via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 13 12:27:50 PDT 2018


hsaito added inline comments.


================
Comment at: include/llvm/Analysis/Utils/LoopUtils.h:84
+    InstDesc(bool IsRecur, Instruction *I, Instruction *UAI = nullptr)
+        : IsRecurrence(IsRecur), PatternLastInst(I), MinMaxKind(MRK_Invalid),
+          UnsafeAlgebraInst(UAI) {}
----------------
Eugene.Zelenko wrote:
> You could use default member initialization for MinMaxKind.
OK. I can include that change.


Repository:
  rL LLVM

https://reviews.llvm.org/D45420





More information about the llvm-commits mailing list