[PATCH] D45420: [NFC] [LoopUtil] Moved RecurrenceDescriptor/LoopDescriptor from Transform/Utils/LoopUtils.* to Analysis tree
Eugene Zelenko via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 12 06:31:26 PDT 2018
Eugene.Zelenko 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) {}
----------------
You could use default member initialization for MinMaxKind.
Repository:
rL LLVM
https://reviews.llvm.org/D45420
More information about the llvm-commits
mailing list