Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
Hercules
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
llvm
Hercules
Merge requests
!203
More rodinia optimization
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
More rodinia optimization
rodinia_opt2
into
main
Overview
0
Commits
7
Pipelines
3
Changes
16
Merged
rarbore2
requested to merge
rodinia_opt2
into
main
3 weeks ago
Overview
0
Commits
7
Pipelines
3
Changes
16
Expand
Add option to
const-inline
to not inline collections.
Add clean-up pass to predication to rewrite boolean selects to and/or ops.
Misc. scheduling work on rodinia.
Edited
3 weeks ago
by
rarbore2
0
0
Merge request reports
Compare
main
version 2
7dfbb9f1
3 weeks ago
version 1
0364edb3
3 weeks ago
main (base)
and
latest version
latest version
5ea823aa
7 commits,
3 weeks ago
version 2
7dfbb9f1
6 commits,
3 weeks ago
version 1
0364edb3
5 commits,
3 weeks ago
16 files
+
224
−
61
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
16
Search (e.g. *.vue) (Ctrl+P)
hercules_ir/src/ir.rs
+
14
−
3
Options
@@ -1048,9 +1048,20 @@ impl Constant {
}
}
/*
* Useful for GVN.
*/
pub
fn
is_false
(
&
self
)
->
bool
{
match
self
{
Constant
::
Boolean
(
false
)
=>
true
,
_
=>
false
,
}
}
pub
fn
is_true
(
&
self
)
->
bool
{
match
self
{
Constant
::
Boolean
(
true
)
=>
true
,
_
=>
false
,
}
}
pub
fn
is_zero
(
&
self
)
->
bool
{
match
self
{
Constant
::
Integer8
(
0
)
=>
true
,
Loading