mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-07-06 13:15:59 +00:00
For each OpPhi, make a variable to carry values from predecessor blocks to the OpPhi. Declare the variable at the smallest scope enclosing all the predecessor blocks (where we write to it), and the OpPhi (where we read from it). Bug: tint:3 Change-Id: I7898b4b903d9ee1a25a7466e3c5aaf6840550e2d Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/24181 Reviewed-by: dan sinclair <dsinclair@google.com>