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
!208
IP SROA Parameters
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
IP SROA Parameters
ip-sroa-params
into
main
Overview
4
Commits
6
Pipelines
6
Changes
2
1 unresolved thread
Show all comments
Merged
rarbore2
requested to merge
ip-sroa-params
into
main
2 weeks ago
Overview
4
Commits
6
Pipelines
6
Changes
2
1 unresolved thread
Show all comments
Expand
Break up products in parameters to functions, not just return values.
TODO: Fix CFD test to not use products in Rust interface.
0
0
Merge request reports
Compare
main
version 5
1dd164a4
2 weeks ago
version 4
cdcc0afd
2 weeks ago
version 3
f3ddf1d2
2 weeks ago
version 2
263b2e0c
2 weeks ago
version 1
ff03fe68
2 weeks ago
main (base)
and
version 1
latest version
5fb96a38
6 commits,
2 weeks ago
version 5
1dd164a4
5 commits,
2 weeks ago
version 4
cdcc0afd
4 commits,
2 weeks ago
version 3
f3ddf1d2
3 commits,
2 weeks ago
version 2
263b2e0c
2 commits,
2 weeks ago
version 1
ff03fe68
1 commit,
2 weeks ago
2 files
+
106
−
25
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
hercules_ir/src/typecheck.rs
+
6
−
2
Options
@@ -716,8 +716,10 @@ fn typeflow(
// Check number of run-time arguments.
if
inputs
.len
()
-
1
!=
callee
.param_types
.len
()
{
return
Error
(
format!
(
"Call node has {} inputs, but calls a function with {} parameters."
,
"Call node in {} has {} inputs, but calls a function ({}) with {} parameters."
,
function
.name
,
inputs
.len
()
-
1
,
callee
.name
,
callee
.param_types
.len
(),
));
}
@@ -725,8 +727,10 @@ fn typeflow(
// Check number of dynamic constant arguments.
if
dc_args
.len
()
!=
callee
.num_dynamic_constants
as
usize
{
return
Error
(
format!
(
"Call node references {} dynamic constants, but calls a function expecting {} dynamic constants."
,
"Call node in {} references {} dynamic constants, but calls a function ({}) expecting {} dynamic constants."
,
function
.name
,
dc_args
.len
(),
callee
.name
,
callee
.num_dynamic_constants
));
}
Loading