[llvm] r235287 - Fix buildbot failure on darwin from r235284.

Karthik Bhat kv.bhat at samsung.com
Mon Apr 20 00:07:10 PDT 2015


Author: karthik
Date: Mon Apr 20 02:07:10 2015
New Revision: 235287

URL: http://llvm.org/viewvc/llvm-project?rev=235287&view=rev
Log:
Fix buildbot failure on darwin from r235284.


Modified:
    llvm/trunk/include/llvm/Transforms/Utils/LoopUtils.h

Modified: llvm/trunk/include/llvm/Transforms/Utils/LoopUtils.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Transforms/Utils/LoopUtils.h?rev=235287&r1=235286&r2=235287&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Transforms/Utils/LoopUtils.h (original)
+++ llvm/trunk/include/llvm/Transforms/Utils/LoopUtils.h Mon Apr 20 02:07:10 2015
@@ -66,6 +66,8 @@ public:
   bool isReduction() { return IsReduction; }
 
   MinMaxReductionKind getMinMaxKind() { return MinMaxKind; }
+ 
+  Instruction *getPatternInst() { return PatternLastInst; }
 
 private:
   // Is this instruction a reduction candidate.





More information about the llvm-commits mailing list