Bug 200961

Summary: [WHLSL] We can not do effects for ternary expressions and logical expressions eagerly
Product: WebKit Reporter: Saam Barati <saam>
Component: WebGPUAssignee: Nobody <webkit-unassigned>
Status: RESOLVED WONTFIX    
Severity: Normal CC: dino, fpizlo, jonlee, justin_fan, mmaxfield, rmorisset, sam
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=200525

Saam Barati
Reported 2019-08-20 19:12:00 PDT
We just emit before the branch for ternary and the implicit branch for logical expressions. So if we had something like: (b ? a[0] = 1 : a[1] = 2) we'd store both to a[0] and a[1]
Attachments
Myles C. Maxfield
Comment 1 2019-08-21 17:19:02 PDT
same with || and &&
Saam Barati
Comment 2 2019-09-04 20:32:55 PDT
I believe I did this as a consequence of my removal of getters/setters/anders. We should just add tests for that in this bug.
Myles C. Maxfield
Comment 3 2020-05-05 00:42:41 PDT
WHLSL is no longer relevant.
Note You need to log in before you can comment on or make changes to this bug.