Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tic
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wenyuanbo
tic
Commits
f72c763f
Commit
f72c763f
authored
May 13, 2019
by
Salem Derisavi
Committed by
ziheng
May 13, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cleanup: removed a piece of code that is redundant now given updates to HalideIR submodule (#3169)
parent
25c91d34
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
14 deletions
+1
-14
src/pass/loop_partition.cc
+1
-14
No files found.
src/pass/loop_partition.cc
View file @
f72c763f
...
...
@@ -389,20 +389,7 @@ LoopPartitioner::GetIntervalAndCondset(const Partition &partitions,
for
(
const
auto
&
kv
:
partitions
)
{
if
(
kv
.
first
.
second
==
cond_value
)
{
arith
::
Interval
interval
=
kv
.
second
.
as
<
arith
::
IntervalSet
>
()
->
i
;
auto
intersection
=
arith
::
Interval
::
make_intersection
(
interval
,
for_interval
);
// TODO(derisavi): the following if statement needs to be removed as soon as
// TVM uses commit a768f2f0 of HalideIR repo
if
(
intersection
.
min
.
same_as
(
arith
::
Interval
::
pos_inf
)
||
intersection
.
max
.
same_as
(
arith
::
Interval
::
neg_inf
))
{
intersection
=
arith
::
Interval
::
nothing
();
}
else
if
(
intersection
.
min
.
type
()
==
intersection
.
max
.
type
()
&&
(
intersection
.
min
.
type
().
is_int
()
||
intersection
.
min
.
type
().
is_uint
())
&&
can_prove
(
intersection
.
min
>
intersection
.
max
))
{
intersection
=
arith
::
Interval
::
nothing
();
}
arith
::
Interval
intersection
=
arith
::
Interval
::
make_intersection
(
interval
,
for_interval
);
if
(
!
intersection
.
is_empty
())
{
sets
.
push_back
(
kv
.
second
);
cond_set
.
insert
(
kv
.
first
.
first
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment