diff options
| author | ArielG-NV <159081215+ArielG-NV@users.noreply.github.com> | 2024-06-27 12:26:02 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-06-27 12:26:02 -0400 |
| commit | 5dd8f29443508bd8663a92c62d33e69cc47b61af (patch) | |
| tree | f18745942f68b41474fb676c022f358d46929997 /source | |
| parent | cb610113605f62e784b63012b31b751acb6fac72 (diff) | |
Cache address-space-legalization of `kIROp_Store` (#4480)
* Cache address-space-legalization of `kIROp_Store`
without caching we will infinetly loop re-processing the same `kIROp_Store`
* uncomment tests which should now work with metal
* disable gfx backend failing tests
Diffstat (limited to 'source')
| -rw-r--r-- | source/slang/slang-ir-specialize-address-space.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/slang/slang-ir-specialize-address-space.cpp b/source/slang/slang-ir-specialize-address-space.cpp index b16449f2e..55d61d527 100644 --- a/source/slang/slang-ir-specialize-address-space.cpp +++ b/source/slang/slang-ir-specialize-address-space.cpp @@ -220,6 +220,7 @@ namespace Slang if (addrSpace != AddressSpace::Generic) { mapVarValueToAddrSpace[inst->getOperand(0)] = addrSpace; + mapInstToAddrSpace[inst] = addrSpace; changed = true; } } |
