[polly] r362724 - [ScheduleTreeTransform] Silence compiler warning. NFC.
Michael Kruse via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 6 10:15:36 PDT 2019
Author: meinersbur
Date: Thu Jun 6 10:15:36 2019
New Revision: 362724
URL: http://llvm.org/viewvc/llvm-project?rev=362724&view=rev
Log:
[ScheduleTreeTransform] Silence compiler warning. NFC.
Use size_t for position which is the return type type ArrayRef::size()
it is compared to.
Modified:
polly/trunk/lib/Transform/ScheduleTreeTransform.cpp
Modified: polly/trunk/lib/Transform/ScheduleTreeTransform.cpp
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/Transform/ScheduleTreeTransform.cpp?rev=362724&r1=362723&r2=362724&view=diff
==============================================================================
--- polly/trunk/lib/Transform/ScheduleTreeTransform.cpp (original)
+++ polly/trunk/lib/Transform/ScheduleTreeTransform.cpp Thu Jun 6 10:15:36 2019
@@ -439,7 +439,7 @@ struct ApplyASTBuildOptions
BaseTy &getBase() { return *this; }
const BaseTy &getBase() const { return *this; }
- int Pos;
+ size_t Pos;
llvm::ArrayRef<isl::union_set> ASTBuildOptions;
ApplyASTBuildOptions(llvm::ArrayRef<isl::union_set> ASTBuildOptions)
More information about the llvm-commits
mailing list