Skip to content

Re-enable UseAggressiveReg2MemForCodeSize on Wasm #77567

Open
@kateinoigakukun

Description

@kateinoigakukun

Description

The optimization is currently disabled on Wasm as it causes LLVM ISel panic.

PromoteFloatResult #0: t51: f16 = freeze t7

<unknown>:0: error: fatal error encountered during compilation; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
<unknown>:0: note: Do not know how to promote this operator's result!

Full failed build log

Once we fix this issue, we should revert the following changes:

Metadata

Metadata

Labels

WebAssemblyPlatform: WebAssemblycompilerThe Swift compiler itself

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions