[polly] r310284 - [GPGPU] Remove redundant constructors
Tobias Grosser via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 7 12:20:58 PDT 2017
Author: grosser
Date: Mon Aug 7 12:20:57 2017
New Revision: 310284
URL: http://llvm.org/viewvc/llvm-project?rev=310284&view=rev
Log:
[GPGPU] Remove redundant constructors
Modified:
polly/trunk/lib/CodeGen/PPCGCodeGeneration.cpp
Modified: polly/trunk/lib/CodeGen/PPCGCodeGeneration.cpp
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/CodeGen/PPCGCodeGeneration.cpp?rev=310284&r1=310283&r2=310284&view=diff
==============================================================================
--- polly/trunk/lib/CodeGen/PPCGCodeGeneration.cpp (original)
+++ polly/trunk/lib/CodeGen/PPCGCodeGeneration.cpp Mon Aug 7 12:20:57 2017
@@ -196,8 +196,8 @@ static MustKillsInfo computeMustKillsInf
KillMemIds.push_back(isl::manage(SAI->getBasePtrId().release()));
}
- Info.TaggedMustKills = isl::union_map::empty(isl::space(ParamSpace));
- Info.MustKills = isl::union_map::empty(isl::space(ParamSpace));
+ Info.TaggedMustKills = isl::union_map::empty(ParamSpace);
+ Info.MustKills = isl::union_map::empty(ParamSpace);
// Initialising KillsSchedule to `isl_set_empty` creates an empty node in the
// schedule:
@@ -225,7 +225,7 @@ static MustKillsInfo computeMustKillsInf
// [param] -> { [Stmt[] -> phantom_ref[]] -> scalar_to_kill[] }
// 2a. [param] -> { Stmt[] -> scalar_to_kill[] }
- isl::map StmtToScalar = isl::map::universe(isl::space(ParamSpace));
+ isl::map StmtToScalar = isl::map::universe(ParamSpace);
StmtToScalar = StmtToScalar.set_tuple_id(isl::dim::in, isl::id(KillStmtId));
StmtToScalar = StmtToScalar.set_tuple_id(isl::dim::out, isl::id(ToKillId));
@@ -234,7 +234,7 @@ static MustKillsInfo computeMustKillsInf
nullptr);
// 2b. [param] -> { phantom_ref[] -> scalar_to_kill[] }
- isl::map PhantomRefToScalar = isl::map::universe(isl::space(ParamSpace));
+ isl::map PhantomRefToScalar = isl::map::universe(ParamSpace);
PhantomRefToScalar =
PhantomRefToScalar.set_tuple_id(isl::dim::in, PhantomRefId);
PhantomRefToScalar =
More information about the llvm-commits
mailing list