Skip to content
Snippets Groups Projects
Forked from Glasgow Haskell Compiler / GHC
6341 commits behind the upstream repository.
Sebastian Graf's avatar
Sebastian Graf authored
This instates the invariant that a trivial CoreExpr translates to an atomic
StgExpr. Nice.

Annoyingly, in -O0 we sometimes generate
```
foo = case "blah"# of sat { __DEFAULT -> unpackCString# sat }
```
which makes it a bit harder to spot that we can emit a standard
`stg_unpack_cstring` thunk.

Fixes #23270.
7e0c8b3b
History
Code owners
Assign users and groups as approvers for specific file changes. Learn more.