luau/CodeGen/include/Luau
Andy Friesen 713ee2ff8b
Sync to upstream/release/678 (#1878)
# What's Changed?

We've been hard at work fixing bugs in the new type solver and getting
it ready to go!

## Native Codegen

* Specialized Luau Codegen instruction for fetching an import.
As a reminder, an import is an expression like `global.thing` and covers
stuff like libraries without fastcalls `coroutine.resume`) and atomic
extern libraries.

## New Type Solver

* Fix an issue that prevented eager generalization from working properly
with OO styled code.
* Avoid copying uninitialized memory in Luau attribute parsing
* Improve type inference of unsealed tables.
    * This fixes https://github.com/luau-lang/luau/issues/1838
    * and https://github.com/luau-lang/luau/issues/1859
* Infer potential singleton string keys in autocomplete when the
expected index type is a union type.
* Avoid creating cyclic types when reducing types of the form `t1 where
t1 = refine<T, t1, Y>`
* The type cloner now does the same thing for the new and old solvers.
* Properly infer polarity (aka variance) for divergent table properties.
(ie tables whose read type and write type are not the same)
* Crash fixes.

---------

Co-authored-by: Hunter Goldstein <hgoldstein@roblox.com>
Co-authored-by: Varun Saini <61795485+vrn-sn@users.noreply.github.com>
Co-authored-by: Alexander Youngblood <ayoungblood@roblox.com>
Co-authored-by: Menarul Alam <malam@roblox.com>
Co-authored-by: Aviral Goel <agoel@roblox.com>
Co-authored-by: Vighnesh <vvijay@roblox.com>
Co-authored-by: Vyacheslav Egorov <vegorov@roblox.com>
Co-authored-by: Ariel Weiss <aaronweiss@roblox.com>
2025-06-13 09:36:35 -07:00
..
AddressA64.h Sync to upstream/release/613 (#1167) 2024-02-15 18:04:39 -08:00
AssemblyBuilderA64.h CodeGen: Rewrite dot product lowering using a dedicated IR instruction (#1512) 2024-11-08 16:23:09 -08:00
AssemblyBuilderX64.h CodeGen: Implement support for math.lerp lowering (#1609) 2025-01-16 10:48:27 -08:00
BytecodeAnalysis.h Sync to upstream/release/625 (#1252) 2024-05-10 11:21:45 -07:00
BytecodeSummary.h Sync to upstream/release/613 (#1167) 2024-02-15 18:04:39 -08:00
CodeAllocator.h Sync to upstream/release/657 (#1619) 2025-01-17 14:55:39 -08:00
CodeBlockUnwind.h Sync to upstream/release/576 (#928) 2023-05-12 10:50:47 -07:00
CodeGen.h Sync to upstream/release/675 (#1845) 2025-05-27 14:24:46 -07:00
CodeGenCommon.h Sync to upstream/release/657 (#1619) 2025-01-17 14:55:39 -08:00
CodeGenOptions.h Sync to upstream/release/657 (#1619) 2025-01-17 14:55:39 -08:00
ConditionA64.h Sync to upstream/release/573 (#903) 2023-04-21 15:14:26 -07:00
ConditionX64.h Sync to upstream/release/613 (#1167) 2024-02-15 18:04:39 -08:00
IrAnalysis.h Sync to upstream/release/637 (#1354) 2024-08-02 07:30:04 -07:00
IrBuilder.h Sync to upstream/release/678 (#1878) 2025-06-13 09:36:35 -07:00
IrCallWrapperX64.h Sync to upstream/release/572 (#899) 2023-04-14 11:06:22 -07:00
IrData.h Sync to upstream/release/678 (#1878) 2025-06-13 09:36:35 -07:00
IrDump.h Sync to upstream/release/678 (#1878) 2025-06-13 09:36:35 -07:00
IrRegAllocX64.h Sync to upstream/release/596 (#1050) 2023-09-22 12:12:15 -07:00
IrUtils.h Sync to upstream/release/670 (#1779) 2025-04-18 13:44:39 -07:00
IrVisitUseDef.h Sync to upstream/release/678 (#1878) 2025-06-13 09:36:35 -07:00
Label.h Sync to upstream/release/529 (#505) 2022-05-26 15:08:16 -07:00
LoweringStats.h Sync to upstream/release/657 (#1619) 2025-01-17 14:55:39 -08:00
NativeProtoExecData.h Sync to upstream/release/620 (#1223) 2024-04-05 13:45:09 -07:00
OperandX64.h Sync to upstream/release/674 (#1832) 2025-05-16 12:39:58 -07:00
OptimizeConstProp.h Sync to upstream/release/574 (#910) 2023-04-28 12:55:13 -07:00
OptimizeDeadStore.h Sync to upstream/release/616 (#1184) 2024-03-08 16:47:53 -08:00
OptimizeFinalX64.h Sync to upstream/release/563 (#833) 2023-02-10 11:40:38 -08:00
RegisterA64.h Sync to upstream/release/674 (#1832) 2025-05-16 12:39:58 -07:00
RegisterX64.h Sync to upstream/release/674 (#1832) 2025-05-16 12:39:58 -07:00
SharedCodeAllocator.h Sync to upstream/release/637 (#1354) 2024-08-02 07:30:04 -07:00
UnwindBuilder.h Sync to upstream/release/674 (#1832) 2025-05-16 12:39:58 -07:00
UnwindBuilderDwarf2.h Sync to upstream/release/637 (#1354) 2024-08-02 07:30:04 -07:00
UnwindBuilderWin.h Sync to upstream/release/637 (#1354) 2024-08-02 07:30:04 -07:00