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
Commits
30eee3cc
Commit
30eee3cc
authored
2 months ago
by
Aaron Councilman
Browse files
Options
Downloads
Patches
Plain Diff
Remove old SROA comment
parent
211800d8
No related branches found
No related tags found
1 merge request
!186
Rodinia
Pipeline
#201730
passed
2 months ago
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
hercules_opt/src/sroa.rs
+0
-3
0 additions, 3 deletions
hercules_opt/src/sroa.rs
with
0 additions
and
3 deletions
hercules_opt/src/sroa.rs
+
0
−
3
View file @
30eee3cc
...
@@ -60,9 +60,6 @@ pub fn sroa(
...
@@ -60,9 +60,6 @@ pub fn sroa(
.map
(|(
i
,
t
)|
(
NodeID
::
new
(
i
),
*
t
))
.map
(|(
i
,
t
)|
(
NodeID
::
new
(
i
),
*
t
))
.collect
();
.collect
();
// FIXME: We need to be able to eliminate 0-sized products regardless of what's in them
// This is actually really hard because we should also be able to eliminate singleton products
// regardless of what's in them
let
can_sroa_type
=
|
editor
:
&
FunctionEditor
,
typ
:
TypeID
|
{
let
can_sroa_type
=
|
editor
:
&
FunctionEditor
,
typ
:
TypeID
|
{
editor
.get_type
(
typ
)
.is_product
()
editor
.get_type
(
typ
)
.is_product
()
&&
(
allow_sroa_arrays
||
!
type_contains_array
(
editor
,
typ
))
&&
(
allow_sroa_arrays
||
!
type_contains_array
(
editor
,
typ
))
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment