diff options
| author | Tobias Grosser <tobias@grosser.es> | 2017-08-07 19:20:57 +0000 |
|---|---|---|
| committer | Tobias Grosser <tobias@grosser.es> | 2017-08-07 19:20:57 +0000 |
| commit | d70ea7fed04726351f8cb1ae791b2aa9f4422f17 (patch) | |
| tree | 917c7ba1f5a95c406c6f52b832cb398bc40aa998 /polly/lib/CodeGen/PPCGCodeGeneration.cpp | |
| parent | 79f3ade51ae0ebe8e0f07aeee2bbafdf449de8d7 (diff) | |
| download | bcm5719-llvm-d70ea7fed04726351f8cb1ae791b2aa9f4422f17.tar.gz bcm5719-llvm-d70ea7fed04726351f8cb1ae791b2aa9f4422f17.zip | |
[GPGPU] Remove redundant constructors
llvm-svn: 310284
Diffstat (limited to 'polly/lib/CodeGen/PPCGCodeGeneration.cpp')
| -rw-r--r-- | polly/lib/CodeGen/PPCGCodeGeneration.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/polly/lib/CodeGen/PPCGCodeGeneration.cpp b/polly/lib/CodeGen/PPCGCodeGeneration.cpp index 637106af552..d3a13edc3b6 100644 --- a/polly/lib/CodeGen/PPCGCodeGeneration.cpp +++ b/polly/lib/CodeGen/PPCGCodeGeneration.cpp @@ -196,8 +196,8 @@ static MustKillsInfo computeMustKillsInfo(const Scop &S) { 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 computeMustKillsInfo(const Scop &S) { // [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 computeMustKillsInfo(const Scop &S) { 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 = |

