luau/CodeGen/src
aaron c8fe77c268
Sync to upstream/release/627 (#1266)
### What's new?

* Removed new `table.move` optimization because of correctness problems.

### New Type Solver

* Improved error messages for type families to describe what's wrong in
more detail, and ideally without using the term `type family` at all.
* Change `boolean` and `string` singletons in type checking to report
errors to the user when they've gotten an impossible type (indicating a
type error from their context).
* Split debugging flags for type family reduction
(`DebugLuauLogTypeFamilies`) from general solver logging
(`DebugLuauLogSolver`).
* Improve type simplification to support patterns like `(number |
string) | (string | number)` becoming `number | string`.

### Native Code Generation

* Use templated `luaV_doarith` to speedup vector operation fallbacks.
* Various small changes to better support arm64 on Windows.

### Internal Contributors
Co-authored-by: Aaron Weiss <aaronweiss@roblox.com>
Co-authored-by: Andy Friesen <afriesen@roblox.com>
Co-authored-by: James McNellis <jmcnellis@roblox.com>
Co-authored-by: Vighnesh Vijay <vvijay@roblox.com>
Co-authored-by: Vyacheslav Egorov <vegorov@roblox.com>

---------

Co-authored-by: Alexander McCord <amccord@roblox.com>
Co-authored-by: Andy Friesen <afriesen@roblox.com>
Co-authored-by: Vighnesh <vvijay@roblox.com>
Co-authored-by: Aviral Goel <agoel@roblox.com>
Co-authored-by: David Cope <dcope@roblox.com>
Co-authored-by: Lily Brown <lbrown@roblox.com>
Co-authored-by: Vyacheslav Egorov <vegorov@roblox.com>
2024-05-26 10:09:09 -07:00
..
AssemblyBuilderA64.cpp Sync to upstream/release/621 (#1229) 2024-04-12 10:18:49 -07:00
AssemblyBuilderX64.cpp CodeGen: Fix a typo in X64 (dis)assembler (#1238) 2024-04-26 11:14:13 -07:00
BitUtils.h Sync to upstream/release/574 (#910) 2023-04-28 12:55:13 -07:00
BytecodeAnalysis.cpp Sync to upstream/release/626 (#1258) 2024-05-16 16:02:03 -07:00
BytecodeSummary.cpp Sync to upstream/release/613 (#1167) 2024-02-15 18:04:39 -08:00
ByteUtils.h Sync to upstream/release/603 (#1097) 2023-11-10 13:10:07 -08:00
CodeAllocator.cpp Sync to upstream/release/616 (#1184) 2024-03-08 16:47:53 -08:00
CodeBlockUnwind.cpp Sync to upstream/release/627 (#1266) 2024-05-26 10:09:09 -07:00
CodeGen.cpp Sync to upstream/release/627 (#1266) 2024-05-26 10:09:09 -07:00
CodeGenA64.cpp Sync to upstream/release/627 (#1266) 2024-05-26 10:09:09 -07:00
CodeGenA64.h Sync to upstream/release/619 (#1218) 2024-03-30 16:14:44 -07:00
CodeGenAssembly.cpp Sync to upstream/release/626 (#1258) 2024-05-16 16:02:03 -07:00
CodeGenContext.cpp Sync to upstream/release/627 (#1266) 2024-05-26 10:09:09 -07:00
CodeGenContext.h Sync to upstream/release/627 (#1266) 2024-05-26 10:09:09 -07:00
CodeGenLower.h Sync to upstream/release/621 (#1229) 2024-04-12 10:18:49 -07:00
CodeGenUtils.cpp Add tagged lightuserdata (#1087) 2023-12-14 15:05:51 -08:00
CodeGenUtils.h Sync to upstream/release/602 (#1089) 2023-11-03 16:45:04 -07:00
CodeGenX64.cpp Sync to upstream/release/627 (#1266) 2024-05-26 10:09:09 -07:00
CodeGenX64.h Sync to upstream/release/619 (#1218) 2024-03-30 16:14:44 -07:00
EmitBuiltinsX64.cpp Sync to upstream/release/621 (#1229) 2024-04-12 10:18:49 -07:00
EmitBuiltinsX64.h Sync to upstream/release/574 (#910) 2023-04-28 12:55:13 -07:00
EmitCommon.h Sync to upstream/release/606 (#1127) 2023-12-08 13:50:16 -08:00
EmitCommonA64.h Sync to upstream/release/591 (#1012) 2023-08-18 11:15:41 -07:00
EmitCommonX64.cpp Sync to upstream/release/627 (#1266) 2024-05-26 10:09:09 -07:00
EmitCommonX64.h Sync to upstream/release/613 (#1167) 2024-02-15 18:04:39 -08:00
EmitInstructionX64.cpp Sync to upstream/release/613 (#1167) 2024-02-15 18:04:39 -08:00
EmitInstructionX64.h Sync to upstream/release/592 (#1018) 2023-08-25 10:23:55 -07:00
IrAnalysis.cpp Sync to upstream/release/613 (#1167) 2024-02-15 18:04:39 -08:00
IrBuilder.cpp Sync to upstream/release/625 (#1252) 2024-05-10 11:21:45 -07:00
IrCallWrapperX64.cpp Sync to upstream/release/613 (#1167) 2024-02-15 18:04:39 -08:00
IrDump.cpp Sync to upstream/release/623 (#1236) 2024-04-25 15:26:09 -07:00
IrLoweringA64.cpp Sync to upstream/release/627 (#1266) 2024-05-26 10:09:09 -07:00
IrLoweringA64.h Sync to upstream/release/603 (#1097) 2023-11-10 13:10:07 -08:00
IrLoweringX64.cpp Sync to upstream/release/623 (#1236) 2024-04-25 15:26:09 -07:00
IrLoweringX64.h Sync to upstream/release/619 (#1218) 2024-03-30 16:14:44 -07:00
IrRegAllocA64.cpp Sync to upstream/release/613 (#1167) 2024-02-15 18:04:39 -08:00
IrRegAllocA64.h Sync to upstream/release/595 (#1044) 2023-09-15 10:26:59 -07:00
IrRegAllocX64.cpp Sync to upstream/release/613 (#1167) 2024-02-15 18:04:39 -08:00
IrTranslateBuiltins.cpp Sync to upstream/release/621 (#1229) 2024-04-12 10:18:49 -07:00
IrTranslateBuiltins.h Sync to upstream/release/584 (#977) 2023-07-14 11:08:53 -07:00
IrTranslation.cpp Sync to upstream/release/625 (#1252) 2024-05-10 11:21:45 -07:00
IrTranslation.h Sync to upstream/release/625 (#1252) 2024-05-10 11:21:45 -07:00
IrUtils.cpp CodeGen: Extract all vector tag patching into TAG_VECTOR (#1171) 2024-02-21 07:06:11 -08:00
IrValueLocationTracking.cpp Sync to upstream/release/621 (#1229) 2024-04-12 10:18:49 -07:00
IrValueLocationTracking.h Sync to upstream/release/596 (#1050) 2023-09-22 12:12:15 -07:00
lcodegen.cpp Sync to upstream/release/625 (#1252) 2024-05-10 11:21:45 -07:00
NativeProtoExecData.cpp Sync to upstream/release/619 (#1218) 2024-03-30 16:14:44 -07:00
NativeState.cpp Sync to upstream/release/627 (#1266) 2024-05-26 10:09:09 -07:00
NativeState.h Sync to upstream/release/627 (#1266) 2024-05-26 10:09:09 -07:00
OptimizeConstProp.cpp Sync to upstream/release/623 (#1236) 2024-04-25 15:26:09 -07:00
OptimizeDeadStore.cpp Sync to upstream/release/623 (#1236) 2024-04-25 15:26:09 -07:00
OptimizeFinalX64.cpp Sync to upstream/release/615 (#1175) 2024-03-01 10:45:26 -08:00
SharedCodeAllocator.cpp Sync to upstream/release/621 (#1229) 2024-04-12 10:18:49 -07:00
UnwindBuilderDwarf2.cpp Sync to upstream/release/627 (#1266) 2024-05-26 10:09:09 -07:00
UnwindBuilderWin.cpp Sync to upstream/release/627 (#1266) 2024-05-26 10:09:09 -07:00