Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
GHC
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Reinier Maas
GHC
Commits
35c7aef6
Commit
35c7aef6
authored
1 year ago
by
Matthew Craven
Committed by
Marge Bot
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
Fix formatting of Note [alg-alt heap check]
parent
effa7e2d
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
compiler/GHC/StgToCmm/Expr.hs
+1
-0
1 addition, 0 deletions
compiler/GHC/StgToCmm/Expr.hs
testsuite/tests/linters/notes.stdout
+34
-35
34 additions, 35 deletions
testsuite/tests/linters/notes.stdout
with
35 additions
and
35 deletions
compiler/GHC/StgToCmm/Expr.hs
+
1
−
0
View file @
35c7aef6
...
...
@@ -876,6 +876,7 @@ cgAlts _ _ _ _ = panic "cgAlts"
-- Note [alg-alt heap check]
-- ~~~~~~~~~~~~~~~~~~~~~~~~~
--
-- In an algebraic case with more than one alternative, we will have
-- code like
...
...
This diff is collapsed.
Click to expand it.
testsuite/tests/linters/notes.stdout
+
34
−
35
View file @
35c7aef6
ref compiler/GHC/Core/Coercion/Axiom.hs:463:2: Note [RoughMap and rm_empty]
ref compiler/GHC/Core/Opt/OccurAnal.hs:983:7: Note [Loop breaking]
ref compiler/GHC/Core/Opt/SetLevels.hs:1574:30: Note [Top level scope]
ref compiler/GHC/Core/Opt/Simplify/Iteration.hs:2826:13: Note [Case binder next]
ref compiler/GHC/Core/Opt/Simplify/Iteration.hs:4018:8: Note [Lambda-bound unfoldings]
ref compiler/GHC/Core/Opt/Simplify/Utils.hs:1343:37: Note [Gentle mode]
ref compiler/GHC/Core/Opt/Specialise.hs:1765:29: Note [Arity decrease]
ref compiler/GHC/Core/TyCo/Rep.hs:1565:31: Note [What prevents a constraint from floating]
ref compiler/GHC/Driver/DynFlags.hs:1245:49: Note [Eta-reduction in -O0]
ref compiler/GHC/Driver/Main.hs:1762:34: Note [simpleTidyPgm - mkBootModDetailsTc]
ref compiler/GHC/Hs/Expr.hs:194:63: Note [Pending Splices]
ref compiler/GHC/Hs/Expr.hs:1738:87: Note [Lifecycle of a splice]
ref compiler/GHC/Hs/Expr.hs:1774:7: Note [Pending Splices]
ref compiler/GHC/Hs/Extension.hs:146:5: Note [Strict argument type constraints]
ref compiler/GHC/Hs/Pat.hs:143:74: Note [Lifecycle of a splice]
ref compiler/GHC/HsToCore/Pmc/Solver.hs:858:20: Note [COMPLETE sets on data families]
ref compiler/GHC/HsToCore/Quote.hs:1476:7: Note [How brackets and nested splices are handled]
ref compiler/GHC/Stg/Unarise.hs:442:32: Note [Renaming during unarisation]
ref compiler/GHC/StgToCmm/Expr.hs:585:4: Note [case on bool]
ref compiler/GHC/StgToCmm/Expr.hs:853:3: Note [alg-alt heap check]
ref compiler/GHC/Core/Coercion/Axiom.hs:472:2: Note [RoughMap and rm_empty]
ref compiler/GHC/Core/Opt/OccurAnal.hs:1157:7: Note [Loop breaking]
ref compiler/GHC/Core/Opt/SetLevels.hs:1586:30: Note [Top level scope]
ref compiler/GHC/Core/Opt/Simplify/Iteration.hs:2832:13: Note [Case binder next]
ref compiler/GHC/Core/Opt/Simplify/Iteration.hs:4023:8: Note [Lambda-bound unfoldings]
ref compiler/GHC/Core/Opt/Simplify/Utils.hs:1342:37: Note [Gentle mode]
ref compiler/GHC/Core/Opt/Specialise.hs:1763:29: Note [Arity decrease]
ref compiler/GHC/Core/TyCo/Rep.hs:1652:31: Note [What prevents a constraint from floating]
ref compiler/GHC/Driver/DynFlags.hs:1251:52: Note [Eta-reduction in -O0]
ref compiler/GHC/Driver/Main.hs:1749:34: Note [simpleTidyPgm - mkBootModDetailsTc]
ref compiler/GHC/Hs/Expr.hs:191:63: Note [Pending Splices]
ref compiler/GHC/Hs/Expr.hs:1727:87: Note [Lifecycle of a splice]
ref compiler/GHC/Hs/Expr.hs:1763:7: Note [Pending Splices]
ref compiler/GHC/Hs/Extension.hs:147:5: Note [Strict argument type constraints]
ref compiler/GHC/Hs/Pat.hs:141:74: Note [Lifecycle of a splice]
ref compiler/GHC/HsToCore/Pmc/Solver.hs:856:20: Note [COMPLETE sets on data families]
ref compiler/GHC/HsToCore/Quote.hs:1487:7: Note [How brackets and nested splices are handled]
ref compiler/GHC/Stg/Unarise.hs:438:32: Note [Renaming during unarisation]
ref compiler/GHC/StgToCmm/Expr.hs:578:4: Note [case on bool]
ref compiler/GHC/Tc/Gen/HsType.hs:556:56: Note [Skolem escape prevention]
ref compiler/GHC/Tc/Gen/HsType.hs:26
21
:7: Note [Matching a kind signature with a declaration]
ref compiler/GHC/Tc/Gen/Pat.hs:17
6
:20: Note [Typing patterns in pattern bindings]
ref compiler/GHC/Tc/Gen/Pat.hs:11
27
:7: Note [Matching polytyped patterns]
ref compiler/GHC/Tc/Gen/Sig.hs:8
1
:10: Note [Overview of type signatures]
ref compiler/GHC/Tc/Gen/Splice.hs:35
6
:16: Note [How brackets and nested splices are handled]
ref compiler/GHC/Tc/Gen/Splice.hs:53
1
:35: Note [PendingRnSplice]
ref compiler/GHC/Tc/Gen/Splice.hs:65
5
:7: Note [How brackets and nested splices are handled]
ref compiler/GHC/Tc/Gen/Splice.hs:8
88
:11: Note [How brackets and nested splices are handled]
ref compiler/GHC/Tc/Instance/Family.hs:4
74
:35: Note [Constrained family instances]
ref compiler/GHC/Tc/Solver/Rewrite.hs:100
9
:7: Note [Stability of rewriting]
ref compiler/GHC/Tc/TyCl.hs:1
130
:6: Note [Unification variables need fresh Names]
ref compiler/GHC/Tc/Types/Constraint.hs:2
2
6:3
4
: Note [NonCanonical Semantics]
ref compiler/GHC/Types/Demand.hs:30
2
:25: Note [Preserving Boxity of results is rarely a win]
ref compiler/GHC/Unit/Module/Deps.hs:8
1
:13: Note [Structure of dep_boot_mods]
ref compiler/GHC/Tc/Gen/HsType.hs:26
76
:7: Note [Matching a kind signature with a declaration]
ref compiler/GHC/Tc/Gen/Pat.hs:17
4
:20: Note [Typing patterns in pattern bindings]
ref compiler/GHC/Tc/Gen/Pat.hs:11
63
:7: Note [Matching polytyped patterns]
ref compiler/GHC/Tc/Gen/Sig.hs:8
0
:10: Note [Overview of type signatures]
ref compiler/GHC/Tc/Gen/Splice.hs:35
8
:16: Note [How brackets and nested splices are handled]
ref compiler/GHC/Tc/Gen/Splice.hs:53
3
:35: Note [PendingRnSplice]
ref compiler/GHC/Tc/Gen/Splice.hs:65
7
:7: Note [How brackets and nested splices are handled]
ref compiler/GHC/Tc/Gen/Splice.hs:8
91
:11: Note [How brackets and nested splices are handled]
ref compiler/GHC/Tc/Instance/Family.hs:4
06
:35: Note [Constrained family instances]
ref compiler/GHC/Tc/Solver/Rewrite.hs:10
1
0:7: Note [Stability of rewriting]
ref compiler/GHC/Tc/TyCl.hs:1
316
:6: Note [Unification variables need fresh Names]
ref compiler/GHC/Tc/Types/Constraint.hs:2
0
6:3
8
: Note [NonCanonical Semantics]
ref compiler/GHC/Types/Demand.hs:30
1
:25: Note [Preserving Boxity of results is rarely a win]
ref compiler/GHC/Unit/Module/Deps.hs:8
3
:13: Note [Structure of dep_boot_mods]
ref compiler/GHC/Utils/Monad.hs:410:34: Note [multiShotIO]
ref compiler/Language/Haskell/Syntax/Binds.hs:200:31: Note [fun_id in Match]
ref configure.ac:2
1
0:10: Note [Linking ghc-bin against threaded stage0 RTS]
ref configure.ac:20
3
:10: Note [Linking ghc-bin against threaded stage0 RTS]
ref docs/core-spec/core-spec.mng:177:6: Note [TyBinders]
ref hadrian/src/Expression.hs:145:30: Note [Linking ghc-bin against threaded stage0 RTS]
ref linters/lint-notes/Notes.hs:32:29: Note [" <> T.unpack x <> "]
...
...
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