Skip to content

Better names for derived SCCs of instances

Currently, -fprof-auto generated SCCs are named after their function name, which isn't very helpful if you have a dozen types in Types.hs and the profile is telling you that much time is spend in "compare" and "put" in that very module. It's even more painful if those instances are derived and you can't easily add manual annotations.

I suggest annotating instance declarations in general with their concrete type, such as "compare/Foo" and "compare/Bar"

Trac metadata
Trac field Value
Version 7.4.2
Type FeatureRequest
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information