WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WONTFIX
Bug 200961
[WHLSL] We can not do effects for ternary expressions and logical expressions eagerly
https://bugs.webkit.org/show_bug.cgi?id=200961
Summary
[WHLSL] We can not do effects for ternary expressions and logical expressions...
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
Add attachment
proposed patch, testcase, etc.
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.
Top of Page
Format For Printing
XML
Clone This Bug