osa1 (Ömer Sinan Ağacan)
User

Projects

User does not belong to any projects.

User Details

User Since
Jun 6 2014, 2:22 AM (267 w, 4 d)

Recent Activity

Sat, Jul 13

Marge Bot <ben+marge-bot@smart-cactus.org> committed rGHCa7176fa1bf42: Minor refactoring in CmmBuildInfoTables (authored by osa1).
Minor refactoring in CmmBuildInfoTables
Sat, Jul 13, 3:41 PM

Tue, Jul 9

Marge Bot <ben+marge-bot@smart-cactus.org> committed rGHC897a59a5c0a0: Minor refactoring in CoreSimpl (authored by osa1).
Minor refactoring in CoreSimpl
Tue, Jul 9, 10:01 PM
Marge Bot <ben+marge-bot@smart-cactus.org> committed rGHCd7423f1096b5: Testsuite tweaks and refactoring (authored by osa1).
Testsuite tweaks and refactoring
Tue, Jul 9, 10:01 PM

Tue, Jul 2

Marge Bot <ben+marge-bot@smart-cactus.org> committed rGHC60b9eab9ffa7: Fix stage 1 warnings (authored by osa1).
Fix stage 1 warnings
Tue, Jul 2, 3:36 PM

Tue, Jun 25

Marge Bot <ben+marge-bot@smart-cactus.org> committed rGHCff2b99e19fc4: Remove unused UniqSupply functions (authored by osa1).
Remove unused UniqSupply functions
Tue, Jun 25, 9:26 PM
Marge Bot <ben+marge-bot@smart-cactus.org> committed rGHCebd63e8de304: Simplify link_caf and mkForeignLabel functions (authored by osa1).
Simplify link_caf and mkForeignLabel functions
Tue, Jun 25, 12:42 AM

Jun 19 2019

Marge Bot <ben+marge-bot@smart-cactus.org> committed rGHC9d58554f7b19: Properly trim IdInfos of DFunIds and PatSyns in TidyPgm (authored by osa1).
Properly trim IdInfos of DFunIds and PatSyns in TidyPgm
Jun 19 2019, 9:19 PM
osa1 committed rGHC8584430e1d5f: Fix a Note name in CmmNode (authored by osa1).
Fix a Note name in CmmNode
Jun 19 2019, 9:16 PM

Jun 16 2019

Marge Bot <ben+marge-bot@smart-cactus.org> committed rGHCb965de1ef0e2: Use TupleSections in CmmParse.y, simplify a few exprs (authored by osa1).
Use TupleSections in CmmParse.y, simplify a few exprs
Jun 16 2019, 6:44 PM

Jun 13 2019

Marge Bot <ben+marge-bot@smart-cactus.org> committed rGHC71e75ba6d892: Remove unused Unique field from StgFCallOp (authored by osa1).
Remove unused Unique field from StgFCallOp
Jun 13 2019, 10:40 PM

Jun 11 2019

Marge Bot <ben+marge-bot@smart-cactus.org> committed rGHC1389b2ccdecb: Fix an error message in CheckUnload.c:searchHeapBlocks (authored by osa1).
Fix an error message in CheckUnload.c:searchHeapBlocks
Jun 11 2019, 5:46 PM

Jun 1 2019

Marge Bot <ben+marge-bot@smart-cactus.org> committed rGHC2e297b361692: rts: Remove unused decls from CNF.h (authored by osa1).
rts: Remove unused decls from CNF.h
Jun 1 2019, 10:24 AM
Marge Bot <ben+marge-bot@smart-cactus.org> committed rGHC1503da32d26f: Fix rewriting invalid shifts to errors (authored by osa1).
Fix rewriting invalid shifts to errors
Jun 1 2019, 10:19 AM

May 31 2019

Marge Bot <ben+marge-bot@smart-cactus.org> committed rGHCbb929009523a: Fix arity type of coerced types in CoreArity (authored by osa1).
Fix arity type of coerced types in CoreArity
May 31 2019, 1:01 AM
Marge Bot <ben+marge-bot@smart-cactus.org> committed rGHCc70d039e5fa1: Remove unused RTS function 'unmark' (authored by osa1).
Remove unused RTS function 'unmark'
May 31 2019, 1:01 AM

May 29 2019

Marge Bot <ben+marge-bot@smart-cactus.org> committed rGHC4d51e0d80f02: CNF.c: Move debug functions behind ifdef (authored by osa1).
CNF.c: Move debug functions behind ifdef
May 29 2019, 9:46 AM

May 27 2019

Marge Bot <ben+marge-bot@smart-cactus.org> committed rGHCdb8e32750801: Add missing opening braces in Cmm dumps (authored by osa1).
Add missing opening braces in Cmm dumps
May 27 2019, 10:53 PM

May 23 2019

Marge Bot <ben+marge-bot@smart-cactus.org> committed rGHC0b449d341554: Add a test for #16597 (authored by osa1).
Add a test for #16597
May 23 2019, 9:43 PM

May 8 2019

Marge Bot <ben+marge-bot@smart-cactus.org> committed rGHC9a3acac968d7: Print PAP object address in stg_PAP_info entry code (authored by osa1).
Print PAP object address in stg_PAP_info entry code
May 8 2019, 2:47 PM

May 3 2019

Marge Bot <ben+marge-bot@smart-cactus.org> committed rGHC0a3e4db325ed: PrimOps.cmm: remove unused stuff (authored by osa1).
PrimOps.cmm: remove unused stuff
May 3 2019, 8:02 PM
Marge Bot <ben+marge-bot@smart-cactus.org> committed rGHC0af93d16d93e: StgCmmMonad: remove emitProc_, don't export emitProc (authored by osa1).
StgCmmMonad: remove emitProc_, don't export emitProc
May 3 2019, 8:02 PM
Marge Bot <ben+marge-bot@smart-cactus.org> committed rGHCf862963b6cdd: rts: Properly free the RTSSummaryStats structure (authored by osa1).
rts: Properly free the RTSSummaryStats structure
May 3 2019, 7:56 PM
osa1 committed rGHCcc495d5777c0: Make equality constraints in kinds invisible (authored by RyanGlScott).
Make equality constraints in kinds invisible
May 3 2019, 1:56 PM
osa1 committed rGHC9b59e126f541: Only skip decls with CUSKs with PolyKinds on (fix #16609) (authored by ningning).
Only skip decls with CUSKs with PolyKinds on (fix #16609)
May 3 2019, 1:55 PM
osa1 committed rGHC87bc954ab65a: Fix interface version number printing in --show-iface (authored by osa1).
Fix interface version number printing in --show-iface
May 3 2019, 1:55 PM
osa1 committed rGHC52fc2719b93a: Pattern/expression ambiguity resolution (authored by int-index).
Pattern/expression ambiguity resolution
May 3 2019, 1:55 PM
osa1 committed rGHC8f929388c4b7: Hadrian: generate JUnit testsuite report in Linux CI job (authored by alpmestan).
Hadrian: generate JUnit testsuite report in Linux CI job
May 3 2019, 1:55 PM
osa1 committed rGHC0dde64f28a58: testsuite: Mark concprog001 as fragile (authored by ghc-builders).
testsuite: Mark concprog001 as fragile
May 3 2019, 1:55 PM
osa1 committed rGHC9047f1844d3f: Make Extension derive Bounded (authored by shayne-fletcher-da).
Make Extension derive Bounded
May 3 2019, 1:55 PM

Apr 25 2019

Marge Bot <ben+marge-bot@smart-cactus.org> committed rGHC4e22826716dc: Minor RTS refactoring: (authored by osa1).
Minor RTS refactoring:
Apr 25 2019, 1:41 PM

Apr 11 2019

Marge Bot <ben+marge-bot@smart-cactus.org> committed rGHCfa0ccbb8731e: Update a panic message (authored by osa1).
Update a panic message
Apr 11 2019, 7:04 PM
Marge Bot <ben+marge-bot@smart-cactus.org> committed rGHC091195a49c29: Remove unused remilestoning script (authored by osa1).
Remove unused remilestoning script
Apr 11 2019, 7:03 PM

Apr 8 2019

Marge Bot <ben+marge-bot@smart-cactus.org> committed rGHC7287bb9ea512: testsuite: Show exit code of GHCi tests on failure (authored by osa1).
testsuite: Show exit code of GHCi tests on failure
Apr 8 2019, 2:30 PM
Marge Bot <ben+marge-bot@smart-cactus.org> committed rGHC1085090e83bb: Skip test ArithInt16 and ArithWord16 in GHCi way (authored by osa1).
Skip test ArithInt16 and ArithWord16 in GHCi way
Apr 8 2019, 2:23 PM

Apr 2 2019

Marge Bot <ben+marge-bot@smart-cactus.org> committed rGHC5730f86331df: Minor refactoring in copy array primops: (authored by osa1).
Minor refactoring in copy array primops:
Apr 2 2019, 3:54 PM

Mar 21 2019

Marge Bot <ben+marge-bot@smart-cactus.org> committed rGHC7b213b8dc668: Print test suite results ("unexpected failures" etc.) in sorted order (authored by osa1).
Print test suite results ("unexpected failures" etc.) in sorted order
Mar 21 2019, 12:02 PM

Mar 12 2019

Marge Bot <ben+marge-bot@smart-cactus.org> committed rGHC62db9295ba79: Remove duplicate functions in StgCmmUtils, use functions from CgUtils (authored by osa1).
Remove duplicate functions in StgCmmUtils, use functions from CgUtils
Mar 12 2019, 9:59 AM

Mar 6 2019

Marge Bot <ben+marge-bot@smart-cactus.org> committed rGHC5aab1d9ca927: rts: Unglobalize dead_weak_ptr_list and resurrected_threads (authored by osa1).
rts: Unglobalize dead_weak_ptr_list and resurrected_threads
Mar 6 2019, 3:51 PM
Marge Bot <ben+marge-bot@smart-cactus.org> committed rGHCc19a401db451: rts/Printer: Print forwarding pointers (authored by osa1).
rts/Printer: Print forwarding pointers
Mar 6 2019, 3:51 PM
Marge Bot <ben+marge-bot@smart-cactus.org> committed rGHC23342e1f0620: rts/Printer: Introduce a few more printing utilities (authored by osa1).
rts/Printer: Introduce a few more printing utilities
Mar 6 2019, 3:51 PM

Mar 4 2019

Marge Bot <ben+marge-bot@smart-cactus.org> committed rGHC908b4b865971: Fix two bugs in stg_ap_0_fast in profiling runtime (authored by osa1).
Fix two bugs in stg_ap_0_fast in profiling runtime
Mar 4 2019, 1:07 PM
Marge Bot <ben+marge-bot@smart-cactus.org> committed rGHC9f5b11fa6a0b: Remove arc scripts (authored by osa1).
Remove arc scripts
Mar 4 2019, 1:07 PM
Marge Bot <ben+marge-bot@smart-cactus.org> committed rGHC7752fa54909a: Minor documentation fix in GHC.ForeignPtr (authored by osa1).
Minor documentation fix in GHC.ForeignPtr
Mar 4 2019, 1:07 PM
Marge Bot <ben+marge-bot@smart-cactus.org> committed rGHC6b890d76a252: Fix checkStackChunk() call in Interepter.c, enable an assertion (authored by osa1).
Fix checkStackChunk() call in Interepter.c, enable an assertion
Mar 4 2019, 1:06 PM
Marge Bot <ben+marge-bot@smart-cactus.org> committed rGHC0a4bbb526688: Remove a few undefined prel names (authored by osa1).
Remove a few undefined prel names
Mar 4 2019, 1:06 PM

Jan 18 2019

osa1 committed rGHC8c3133a6e513: Comments in stranal test declarations (authored by osa1).
Comments in stranal test declarations
Jan 18 2019, 6:31 AM

Jan 17 2019

osa1 committed rGHCa1e9cd6af8b4: Add test for #16197 (authored by osa1).
Add test for #16197
Jan 17 2019, 11:51 AM
osa1 committed rGHCa34ee6154593: Refactor GHCi UI to fix #11606, #12091, #15721, #16096 (authored by osa1).
Refactor GHCi UI to fix #11606, #12091, #15721, #16096
Jan 17 2019, 11:50 AM
osa1 committed rGHC448f0e7dd78a: Fix checkPtrInArena (authored by osa1).
Fix checkPtrInArena
Jan 17 2019, 11:50 AM
osa1 committed rGHC19670bc397d8: Fix negative mutator time in GC stats in prof builds (authored by osa1).
Fix negative mutator time in GC stats in prof builds
Jan 17 2019, 11:50 AM
osa1 committed rGHC74cd4ec5d2f9: Fix raiseAsync() UNDERFLOW_FRAME handling in profiling runtime (authored by osa1).
Fix raiseAsync() UNDERFLOW_FRAME handling in profiling runtime
Jan 17 2019, 11:50 AM
osa1 committed rGHCcb2349a4233d: Documentation and refactoring in CCS related code (authored by osa1).
Documentation and refactoring in CCS related code
Jan 17 2019, 11:50 AM

Jan 16 2019

osa1 committed rGHC82d1a88dec21: Implement a sanity check for CCS fields in profiling builds (authored by osa1).
Implement a sanity check for CCS fields in profiling builds
Jan 16 2019, 12:24 AM
osa1 committed rGHC2880cb9840e2: Dump Cmm with -ddump-cmm when building .cmm files (authored by osa1).
Dump Cmm with -ddump-cmm when building .cmm files
Jan 16 2019, 12:24 AM
osa1 committed rGHC6e4e63764aaf: Minor refactoring and documentation in profiling RTS code (authored by osa1).
Minor refactoring and documentation in profiling RTS code
Jan 16 2019, 12:24 AM

Jan 9 2019

osa1 abandoned D5473: Refactor GHCi UI to fix #16096.

Migrated to gitlab: https://gitlab.haskell.org/ghc/ghc/merge_requests/97

Jan 9 2019, 9:48 AM

Jan 8 2019

osa1 added a comment to D5432: Do Caf analysis right before codegen, fix #9718.

Where are we on this work?

Jan 8 2019, 8:40 AM

Dec 27 2018

osa1 updated the summary of D5473: Refactor GHCi UI to fix #16096.
Dec 27 2018, 4:14 AM
osa1 updated the diff for D5473: Refactor GHCi UI to fix #16096.
  • Remove duplication
Dec 27 2018, 4:13 AM
osa1 updated the summary of D5473: Refactor GHCi UI to fix #16096.
Dec 27 2018, 3:44 AM
osa1 updated the diff for D5473: Refactor GHCi UI to fix #16096.
  • Add test
Dec 27 2018, 3:43 AM
osa1 updated the summary of D5473: Refactor GHCi UI to fix #16096.
Dec 27 2018, 3:28 AM
osa1 updated the test plan for D5473: Refactor GHCi UI to fix #16096.
Dec 27 2018, 3:27 AM
osa1 updated the diff for D5473: Refactor GHCi UI to fix #16096.
  • Update test output
Dec 27 2018, 3:27 AM
osa1 added inline comments to D5473: Refactor GHCi UI to fix #16096.
Dec 27 2018, 3:02 AM
osa1 updated the summary of D5473: Refactor GHCi UI to fix #16096.
Dec 27 2018, 3:01 AM
osa1 updated the diff for D5473: Refactor GHCi UI to fix #16096.
  • Enable a broken test
Dec 27 2018, 3:00 AM
osa1 updated the diff for D5473: Refactor GHCi UI to fix #16096.
  • Fix a bug, simplify things
Dec 27 2018, 2:55 AM
osa1 added a comment to D5473: Refactor GHCi UI to fix #16096.

This broke one test:

Dec 27 2018, 2:10 AM
osa1 added a comment to D4647: RFC: Continuation arguments.

Thanks! I don't know what's the problem with this diff yet, and I'll be working on Phab:D4110 first, but if time permits we want to implement this too. If this diff is hopeless I may implement it differently in another diff, otherwise I'll be updating this diff.

Dec 27 2018, 12:47 AM

Dec 26 2018

osa1 added a comment to D4647: RFC: Continuation arguments.

@alexbiehl will you be working on this? Do you mind if I finish the implementation?

Dec 26 2018, 11:55 PM
osa1 planned changes to D5473: Refactor GHCi UI to fix #16096.

I left some TODOs in the description.

Dec 26 2018, 8:31 AM
osa1 created D5473: Refactor GHCi UI to fix #16096.
Dec 26 2018, 8:30 AM

Dec 25 2018

osa1 added a comment to D5432: Do Caf analysis right before codegen, fix #9718.

I added some comments about the refactoring here: https://github.com/osa1/ghc/commit/f377f048fef88d8f01414d34a913ed18798a7ba6#commitcomment-31778391

Dec 25 2018, 9:07 PM
osa1 added a comment to D5470: Disable timer-based context switches.

Should we also do this for all the other benchmarks?

Dec 25 2018, 7:25 AM
osa1 accepted D5469: Compare results of compress by hashing.

Once the binary is in the repo this won't buy us much, but I guess this helps when doing shallow clone (which I never do, but perhaps others do).

Dec 25 2018, 7:21 AM
osa1 added a comment to D5432: Do Caf analysis right before codegen, fix #9718.
In D5432#151106, @osa1 wrote:

So all this work is wasted. As I said in this comment https://phabricator.haskell.org/D5432#150851, I propose getting rid of the CafInfo field of IdLabel entirely. Did you try that?

I started doing that, but I'm not sure how to implement cafAnal, more specifically cafTransfers needs to get CAFFY labels in a CmmBlock. Any ideas on this?

Dec 25 2018, 12:39 AM

Dec 24 2018

osa1 updated the summary of D5432: Do Caf analysis right before codegen, fix #9718.
Dec 24 2018, 11:43 PM
osa1 updated the diff for D5432: Do Caf analysis right before codegen, fix #9718.
  • Rebase, enable panic in StgCafAnal again
Dec 24 2018, 11:40 PM
osa1 added a comment to D5432: Do Caf analysis right before codegen, fix #9718.

So all this work is wasted. As I said in this comment https://phabricator.haskell.org/D5432#150851, I propose getting rid of the CafInfo field of IdLabel entirely. Did you try that?

Dec 24 2018, 10:03 AM
osa1 added a comment to D5432: Do Caf analysis right before codegen, fix #9718.

Hmm, I guess that makes sense, but I need to think more about this (I still don't understand Cmm generation too well ..). I'll try removing CafInfo from IdLabel and see how it goes. In the meantime, here's what I've got so far: https://github.com/osa1/ghc/commit/f377f048fef88d8f01414d34a913ed18798a7ba6 This makes cafInfo field Maybe, then initializes it as Nothing. The failures are as reported in my previous comments.

Dec 24 2018, 6:19 AM
osa1 committed rGHC8a0fca09565d: Simplify Core output with -dsuppress-type-signatures (authored by osa1).
Simplify Core output with -dsuppress-type-signatures
Dec 24 2018, 6:03 AM
osa1 closed D5472: Simplify Core output with -dsuppress-type-signatures.
Dec 24 2018, 6:03 AM
osa1 updated the diff for D5472: Simplify Core output with -dsuppress-type-signatures.
  • Update test output
Dec 24 2018, 6:01 AM
osa1 added a comment to D5469: Compare results of compress by hashing.
In D5469#151068, @osa1 wrote:

I'm confused

Invoking compress during boot to generate the stdout file doesn't work,
because at that point the dependency file for building compress might not have
been created yet, resulting in make boot failures.

Why would you invoke compress during boot? Isn't compress a benchmark that
needs to be run _after_ boot?

The idea was we don't want the result in the repo as it's a sizeable binary file that doesn't compress well.

So we either have to shrink it (this patch) or generate it during boot (state before this patch).
The easiest way to generate the output file during boot is by using compress itself, so that's what I did initially.
In hindsight it was a bad solution for more than one reason, hence why sgraf is changing it.

Dec 24 2018, 5:06 AM
osa1 added a comment to D5432: Do Caf analysis right before codegen, fix #9718.

sat_sGr in the same binding is also causing problems, because we call mkClosureInfoTableLabel on it, which calls idCafInfo. The CafInfo is again passed to mkInfoTableLabel so this is quite similar to the example above.

Dec 24 2018, 2:31 AM
osa1 added a comment to D5432: Do Caf analysis right before codegen, fix #9718.

I started doing the refactoring. I currently have cafInfo :: Maybe CafInfo (instead of putting error in the field, becuase this version makes it easier to debug as I can get call stacks by adding HasCallStack to idCafInfo and call sites), and I realized that this comment

Dec 24 2018, 1:16 AM
osa1 updated the summary of D5432: Do Caf analysis right before codegen, fix #9718.
Dec 24 2018, 12:41 AM

Dec 23 2018

osa1 added a comment to D5469: Compare results of compress by hashing.

I'm confused

Dec 23 2018, 11:26 PM

Dec 22 2018

osa1 updated the summary of D5432: Do Caf analysis right before codegen, fix #9718.
Dec 22 2018, 1:32 AM
osa1 planned changes to D5472: Simplify Core output with -dsuppress-type-signatures.
Dec 22 2018, 1:26 AM
osa1 added a comment to D5472: Simplify Core output with -dsuppress-type-signatures.

I need to rebase this and update expected output of Trac #16038 before merging (I pushed the test just now).

Dec 22 2018, 1:25 AM
osa1 committed rGHC8adef36cb16b: Add test for #16038 (authored by osa1).
Add test for #16038
Dec 22 2018, 1:22 AM
osa1 created D5472: Simplify Core output with -dsuppress-type-signatures.
Dec 22 2018, 1:09 AM

Dec 21 2018

osa1 added a comment to D5432: Do Caf analysis right before codegen, fix #9718.

I started implementing this. There are some use sites of vanillaIdInfo that may still need MayHaveCafRefs as CafInfo so I have to review all use sites first. Here's the list of all uses of vanillaIdInfo, with whether they should have erroring CafInfo or not after the refactoring:

Dec 21 2018, 9:21 AM
osa1 updated the diff for D5432: Do Caf analysis right before codegen, fix #9718.
  • Remove outdated comment
Dec 21 2018, 8:53 AM
osa1 added a comment to D5432: Do Caf analysis right before codegen, fix #9718.

OK, finished reading the comments. @simonpj

Dec 21 2018, 5:30 AM
osa1 added a comment to D5432: Do Caf analysis right before codegen, fix #9718.
In D5432#150882, @osa1 wrote:

I might be missing something, but how does that prevent us from accidentally using the CafInfo from the occurrence Id?

@simonpj @simonmar what do you think about making IdInfo.cafInfo a Maybe CafInfo instead of CafInfo? That way we can leave caf info of non-imported ids Nothing (initially all ids have Nothing as caf info), and idCafInfo can panic instead of returning the default value when that happens.

We can later do the same thing for arity.

Dec 21 2018, 5:12 AM
osa1 added a comment to D5432: Do Caf analysis right before codegen, fix #9718.

I might be missing something, but how does that prevent us from accidentally using the CafInfo from the occurrence Id?

Dec 21 2018, 4:45 AM
osa1 updated the summary of D5432: Do Caf analysis right before codegen, fix #9718.
Dec 21 2018, 3:23 AM