luau/CodeGen/src
Andy Friesen 1fa8311a18
Sync to upstream/release/567 (#860)
* Fix #817 
* Fix #850 
* Optimize math.floor/ceil/round with SSE4.1
    * Results in a ~7-9% speedup on the math-cordic benchmark.
* Optimized table.sort.
* table.sort is now ~4.1x faster (when not using a predicate) and ~2.1x
faster when using a simple predicate. Performance may improve further in
the future.
* Reorganize the memory ownership of builtin type definitions.
* This is a small initial step toward affording parallel typechecking.

The new type solver is coming along nicely. We are working on fixing
crashes and bugs.

A few major changes to native codegen landed this week:
* Fixed lowering of Luau IR mod instruction when first argument is a
constant
* Added VM register data-flow/capture analysis
* Fixed issues with optimizations in unreachable blocks

---------

Co-authored-by: Arseny Kapoulkine <arseny.kapoulkine@gmail.com>
Co-authored-by: Vyacheslav Egorov <vegorov@roblox.com>
2023-03-10 12:21:07 -08:00
..
AssemblyBuilderA64.cpp Sync to upstream/release/566 (#853) 2023-03-03 12:21:14 -08:00
AssemblyBuilderX64.cpp Sync to upstream/release/566 (#853) 2023-03-03 12:21:14 -08:00
ByteUtils.h Sync to upstream/release/550 (#723) 2022-10-21 10:54:01 -07:00
CodeAllocator.cpp Sync to upstream/release/553 (#751) 2022-11-18 11:47:21 -08:00
CodeBlockUnwind.cpp Sync to upstream/release/550 (#723) 2022-10-21 10:54:01 -07:00
CodeGen.cpp Sync to upstream/release/567 (#860) 2023-03-10 12:21:07 -08:00
CodeGenUtils.cpp Sync to upstream/release/552 (#735) 2022-11-04 10:33:22 -07:00
CodeGenUtils.h Sync to upstream/release/552 (#735) 2022-11-04 10:33:22 -07:00
CodeGenX64.cpp Sync to upstream/release/566 (#853) 2023-03-03 12:21:14 -08:00
CodeGenX64.h Sync to upstream/release/566 (#853) 2023-03-03 12:21:14 -08:00
CustomExecUtils.h Sync to upstream/release/550 (#723) 2022-10-21 10:54:01 -07:00
EmitBuiltinsX64.cpp Sync to upstream/release/566 (#853) 2023-03-03 12:21:14 -08:00
EmitBuiltinsX64.h Sync to upstream/release/566 (#853) 2023-03-03 12:21:14 -08:00
EmitCommon.h Sync to upstream/release/566 (#853) 2023-03-03 12:21:14 -08:00
EmitCommonX64.cpp Sync to upstream/release/566 (#853) 2023-03-03 12:21:14 -08:00
EmitCommonX64.h Sync to upstream/release/566 (#853) 2023-03-03 12:21:14 -08:00
EmitInstructionX64.cpp Sync to upstream/release/566 (#853) 2023-03-03 12:21:14 -08:00
EmitInstructionX64.h Sync to upstream/release/566 (#853) 2023-03-03 12:21:14 -08:00
Fallbacks.cpp Sync to upstream/release/559 (#804) 2023-01-13 14:10:01 -08:00
Fallbacks.h Sync to upstream/release/559 (#804) 2023-01-13 14:10:01 -08:00
FallbacksProlog.h Sync to upstream/release/546 (#681) 2022-09-23 12:17:25 -07:00
IrAnalysis.cpp Sync to upstream/release/567 (#860) 2023-03-10 12:21:07 -08:00
IrBuilder.cpp Sync to upstream/release/567 (#860) 2023-03-10 12:21:07 -08:00
IrDump.cpp Sync to upstream/release/567 (#860) 2023-03-10 12:21:07 -08:00
IrLoweringX64.cpp Sync to upstream/release/567 (#860) 2023-03-10 12:21:07 -08:00
IrLoweringX64.h Sync to upstream/release/566 (#853) 2023-03-03 12:21:14 -08:00
IrRegAllocX64.cpp Sync to upstream/release/567 (#860) 2023-03-10 12:21:07 -08:00
IrRegAllocX64.h Sync to upstream/release/567 (#860) 2023-03-10 12:21:07 -08:00
IrTranslateBuiltins.cpp Sync to upstream/release/566 (#853) 2023-03-03 12:21:14 -08:00
IrTranslateBuiltins.h Sync to upstream/release/565 (#845) 2023-02-24 13:49:38 -08:00
IrTranslation.cpp Sync to upstream/release/566 (#853) 2023-03-03 12:21:14 -08:00
IrTranslation.h Sync to upstream/release/566 (#853) 2023-03-03 12:21:14 -08:00
IrUtils.cpp Sync to upstream/release/567 (#860) 2023-03-10 12:21:07 -08:00
NativeState.cpp Sync to upstream/release/562 (#828) 2023-02-03 11:26:13 -08:00
NativeState.h Sync to upstream/release/562 (#828) 2023-02-03 11:26:13 -08:00
OptimizeConstProp.cpp Sync to upstream/release/566 (#853) 2023-03-03 12:21:14 -08:00
OptimizeFinalX64.cpp Sync to upstream/release/566 (#853) 2023-03-03 12:21:14 -08:00
UnwindBuilderDwarf2.cpp Sync to upstream/release/566 (#853) 2023-03-03 12:21:14 -08:00
UnwindBuilderWin.cpp Sync to upstream/release/566 (#853) 2023-03-03 12:21:14 -08:00