From: Karthik Bhat Date: Mon, 20 Apr 2015 07:07:10 +0000 (+0000) Subject: Fix buildbot failure on darwin from r235284. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=07bfae5ff7d7001f17fe3ab669cca78ccdc91b5a;p=llvm Fix buildbot failure on darwin from r235284. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@235287 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/Transforms/Utils/LoopUtils.h b/include/llvm/Transforms/Utils/LoopUtils.h index 70645c1e7f7..6ce2aace99a 100644 --- a/include/llvm/Transforms/Utils/LoopUtils.h +++ b/include/llvm/Transforms/Utils/LoopUtils.h @@ -66,6 +66,8 @@ public: bool isReduction() { return IsReduction; } MinMaxReductionKind getMinMaxKind() { return MinMaxKind; } + + Instruction *getPatternInst() { return PatternLastInst; } private: // Is this instruction a reduction candidate.