[polly] r304148 - Revert "[NFC] Fix formatting & typecast issue. Build succeeds."
Siddharth Bhat via llvm-commits
llvm-commits at lists.llvm.org
Mon May 29 04:34:29 PDT 2017
Author: bollu
Date: Mon May 29 06:34:29 2017
New Revision: 304148
URL: http://llvm.org/viewvc/llvm-project?rev=304148&view=rev
Log:
Revert "[NFC] Fix formatting & typecast issue. Build succeeds."
Should not have 'fixed' the formatting issue, I did not have the most
recent version of `clang-format`.
This reverts commit 761b1268359e14e59142f253d77864a29d55c56c.
Modified:
polly/trunk/lib/Analysis/ScopInfo.cpp
polly/trunk/lib/Support/RegisterPasses.cpp
Modified: polly/trunk/lib/Analysis/ScopInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/Analysis/ScopInfo.cpp?rev=304148&r1=304147&r2=304148&view=diff
==============================================================================
--- polly/trunk/lib/Analysis/ScopInfo.cpp (original)
+++ polly/trunk/lib/Analysis/ScopInfo.cpp Mon May 29 06:34:29 2017
@@ -4645,7 +4645,7 @@ ScalarEvolution *Scop::getSE() const { r
static isl::multi_union_pw_aff mapToDimension(isl::union_set USet, int N) {
assert(N >= 0);
assert(USet);
- assert(!bool(USet.is_empty()));
+ assert(!USet.is_empty());
auto Result = isl::union_pw_multi_aff::empty(USet.get_space());
Modified: polly/trunk/lib/Support/RegisterPasses.cpp
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/Support/RegisterPasses.cpp?rev=304148&r1=304147&r2=304148&view=diff
==============================================================================
--- polly/trunk/lib/Support/RegisterPasses.cpp (original)
+++ polly/trunk/lib/Support/RegisterPasses.cpp Mon May 29 06:34:29 2017
@@ -99,7 +99,7 @@ static cl::opt<TargetChoice>
,
clEnumValN(TARGET_GPU, "gpu", "generate GPU code")
#endif
- ),
+ ),
cl::init(TARGET_CPU), cl::ZeroOrMore, cl::cat(PollyCategory));
#ifdef GPU_CODEGEN
More information about the llvm-commits
mailing list