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
2a1e1607
Commit
2a1e1607
authored
Feb 18, 2018
by
Meghan Cowan
Committed by
Tianqi Chen
Feb 18, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add UIntImm to select rewrite (#909)
parent
6d4eb2e8
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
0 deletions
+1
-0
src/pass/rewrite_unsafe_select.cc
+1
-0
No files found.
src/pass/rewrite_unsafe_select.cc
View file @
2a1e1607
...
...
@@ -77,6 +77,7 @@ class UnsafeExprDetector : public ExprFunctor<bool(const Expr& n)> {
return
false
;
}
bool
VisitExpr_
(
const
Variable
*
op
)
final
{
return
false
;
}
bool
VisitExpr_
(
const
UIntImm
*
op
)
final
{
return
false
;
}
bool
VisitExpr_
(
const
IntImm
*
op
)
final
{
return
false
;
}
bool
VisitExpr_
(
const
FloatImm
*
op
)
final
{
return
false
;
}
bool
VisitExpr_
(
const
StringImm
*
op
)
final
{
return
false
;
}
...
...
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