luau/Compiler/src
vegorov-rbx 4b267aa5c5
Sync to upstream/release/574 (#910)
* Added a limit on how many instructions the Compiler can safely produce
(reported by @TheGreatSageEqualToHeaven)

C++ API Changes:
* With work started on read-only and write-only properties,
`Property::type` member variable has been replaced with `TypeId type()`
and `setType(TypeId)` functions.
* New `LazyType` unwrap callback now has a `void` return type, all
that's required from the callback is to write into `unwrapped` field.

In our work on the new type solver, the following issues were fixed:

* Work has started to support https://github.com/Roblox/luau/pull/77 and
https://github.com/Roblox/luau/pull/79
* Refinements are no longer applied on l-values, removing some
false-positive errors
* Improved overload resolution against expected result type
* `Frontend::prepareModuleScope` now works in the new solver
* Cofinite strings are now comparable

And these are the changes in native code generation (JIT):

* Fixed MIN_NUM and MAX_NUM constant fold when one of the arguments is
NaN
* Added constant folding for number conversions and bit operations
* Value spilling and rematerialization is now supported on arm64
* Improved FASTCALL2K IR generation to support second argument constant
* Added value numbering and load/store propagation optimizations
* Added STORE_VECTOR on arm64, completing the IR lowering on this target
2023-04-28 12:55:13 -07:00
..
BuiltinFolding.cpp Sync to upstream/release/541 (#644) 2022-08-18 14:32:08 -07:00
BuiltinFolding.h Sync to upstream/release/536 (#592) 2022-07-14 15:52:26 -07:00
Builtins.cpp Sync to upstream/release/566 (#853) 2023-03-03 12:21:14 -08:00
Builtins.h Sync to upstream/release/566 (#853) 2023-03-03 12:21:14 -08:00
BytecodeBuilder.cpp Sync to upstream/release/574 (#910) 2023-04-28 12:55:13 -07:00
Compiler.cpp Sync to upstream/release/574 (#910) 2023-04-28 12:55:13 -07:00
ConstantFolding.cpp Sync to upstream/release/546 (#681) 2022-09-23 12:17:25 -07:00
ConstantFolding.h Sync to upstream/release/536 (#592) 2022-07-14 15:52:26 -07:00
CostModel.cpp String interpolation (#614) 2022-08-24 12:01:00 -07:00
CostModel.h Sync to upstream/release/536 (#592) 2022-07-14 15:52:26 -07:00
TableShape.cpp Sync to upstream/release/513 (#340) 2022-02-04 08:45:57 -08:00
TableShape.h Sync to upstream/release/510 (#313) 2022-01-14 08:20:09 -08:00
ValueTracking.cpp Sync to upstream/release/510 (#313) 2022-01-14 08:20:09 -08:00
ValueTracking.h Sync to upstream/release/510 (#313) 2022-01-14 08:20:09 -08:00
lcode.cpp Sync to upstream/release/505 (#216) 2021-11-19 08:10:07 -08:00