[mono][jit] Reenable branch optimizations when running with llvm.#97189
[mono][jit] Reenable branch optimizations when running with llvm.#97189vargaz merged 4 commits intodotnet:mainfrom
Conversation
|
/azp run runtime-extra-platforms |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azp run runtime-ioslike |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azp run runtime-wasm |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azp run runtime-ioslike |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azp run runtime |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
This PR will reduce both executable size and aot compiler memory usage by eliminating code early. Previously, we were only running branch optimizations in opt/llc, so if we had code like: |
|
/azp runtime-extra-platforms |
|
Command 'runtime-extra-platforms' is not supported by Azure Pipelines. Supported commands
See additional documentation. |
|
/azp run runtime-extra-platforms |
|
Azure Pipelines successfully started running 1 pipeline(s). |
This is supposed to return a 16xi8 so there is no need to cast it. This only worked by accident because the phi handling code casted it to the right type most of the time.
|
/azp run runtime-extra-platforms |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
This saves around 120k on an aot hello world on wasm. |
|
Failures are probably unrelated, the llvm lanes are timing out. |
kg
left a comment
There was a problem hiding this comment.
I assume the changes to lhs are to fix crashes you hit while doing this. Looks fine to me.
No description provided.