julia
[WIP] dynamic dispatch optimization: avoid boxing stack-allocated inputs
#50136
Open

Commits
  • DRAFT: Experimenting with codegen for stack-optimized dynamic dispatch
    NHDaly committed 2 years ago
  • WORKING DRAFT!: Passes the types from callsite, and reboxes ints & floats
    NHDaly committed 2 years ago
  • Done with step 2:
    NHDaly committed 2 years ago
  • DRAFT: SO CLOOOOSE! I just can't figure out how to get the &x.
    NHDaly committed 2 years ago
  • OKAY I DID IT!!!!!
    NHDaly committed 2 years ago
  • Disable prints. I think the extra allocs are coming from the guard check?
    NHDaly committed 2 years ago
  • clean up commented out garbage
    NHDaly committed 2 years ago
  • Move dynamic type checking into C to simplify the llvm generated code
    NHDaly committed 2 years ago
  • Switch back to old code for stack_boxed non-special case
    NHDaly committed 2 years ago
  • cleanups
    NHDaly committed 2 years ago
  • WE DID IT!: Loosen the type restriction for this stack allocation trick to any concrete isbits
    NHDaly committed 2 years ago
  • Aha! Switch to a better approach for method instance lookup.
    NHDaly committed 2 years ago
  • Add missing error handling check
    NHDaly committed 2 years ago
  • WIP change to pass through a boolean for stack-allocated or not.
    NHDaly committed 2 years ago
  • Revert "WIP change to pass through a boolean for stack-allocated or not."
    NHDaly committed 2 years ago
  • Improve comments & structure
    NHDaly committed 2 years ago
Loading