commit | e11a14d17f590163e036f5f8a4d9d56c25d64b99 | [log] [tgz] |
---|---|---|
author | John Stiles <johnstiles@google.com> | Wed Mar 02 09:40:08 2022 -0500 |
committer | SkCQ <skcq-be@skia-corp.google.com.iam.gserviceaccount.com> | Wed Mar 02 15:20:10 2022 +0000 |
tree | 142bc68f8b8cb2e5a36d38e0d669f5103e028882 | |
parent | 7bc2701ae8dcafc0724ec1b2613599fba80bbfc2 [diff] |
Add workaround for LLVM crash in macOS 12 on Intel or M1. The `break_loop` test causes LLVM to get confused and crash when compiled on some GPUs. The crash goes away if we pass a literal 5 instead of a 5 that is computed at runtime. This also results in a simpler test for SkVM, for better or worse, but we still have coverage for dynamic loop exits in other tests. LLVM crash: https://paste.googleplex.com/4718583155261440 Dangerous shader: https://paste.googleplex.com/4776089520963584 Change-Id: Ic6cbd55a36d2de58e5dd3459d4dfd74acdbc9f91 Bug: skia:13005 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/514538 Reviewed-by: Arman Uguray <armansito@google.com> Commit-Queue: John Stiles <johnstiles@google.com> Auto-Submit: John Stiles <johnstiles@google.com>