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
!64
Some bugfixes
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Some bugfixes
cava_bughunting
into
main
Overview
0
Commits
7
Pipelines
1
Changes
4
Merged
rarbore2
requested to merge
cava_bughunting
into
main
8 months ago
Overview
0
Commits
7
Pipelines
1
Changes
4
Expand
Fix bug in creating zero constants in the editor
Don't make plans by default to avoid running into issues with repair_plan (all this code is going to get ripped out anyway so this is fine)
Fix for intra-SROA
Some more GVN & DCE in default pass order to make cava less inscrutable
0
0
Merge request reports
Compare
main
main (base)
and
latest version
latest version
93de6a42
7 commits,
8 months ago
4 files
+
33
−
22
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
4
Search (e.g. *.vue) (Ctrl+P)
hercules_opt/src/editor.rs
+
1
−
1
Options
@@ -462,7 +462,7 @@ impl<'a, 'b> FunctionEdit<'a, 'b> {
Constant
::
Product
(
id
,
dummy_elems
.into_boxed_slice
())
}
Type
::
Summation
(
tys
)
=>
Constant
::
Summation
(
id
,
0
,
self
.add_zero_constant
(
tys
[
0
])),
Type
::
Array
(
tid
,
_
)
=>
Constant
::
Array
(
t
id
),
Type
::
Array
(
_
,
_
)
=>
Constant
::
Array
(
id
),
};
self
.add_constant
(
constant_to_construct
)
}
Loading