[glsl][ir] Emit the passthrough atomic methods.

A number of the atomics are either just passthrough names, or simple
name substitutions. This CL adds all of the current passthroughs and
substitutions.

Bug: 42251044
Change-Id: I2614539945c75cd86de198c48cdc14024830bf48
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/206674
Commit-Queue: dan sinclair <dsinclair@chromium.org>
Reviewed-by: James Price <jrprice@google.com>
diff --git a/src/tint/lang/glsl/writer/printer/printer.cc b/src/tint/lang/glsl/writer/printer/printer.cc
index 89d8848..540f3a3 100644
--- a/src/tint/lang/glsl/writer/printer/printer.cc
+++ b/src/tint/lang/glsl/writer/printer/printer.cc
@@ -1292,6 +1292,13 @@
             case core::BuiltinFn::kAsinh:
             case core::BuiltinFn::kAtan:
             case core::BuiltinFn::kAtanh:
+            case core::BuiltinFn::kAtomicAdd:
+            case core::BuiltinFn::kAtomicAnd:
+            case core::BuiltinFn::kAtomicExchange:
+            case core::BuiltinFn::kAtomicMax:
+            case core::BuiltinFn::kAtomicMin:
+            case core::BuiltinFn::kAtomicOr:
+            case core::BuiltinFn::kAtomicXor:
             case core::BuiltinFn::kCeil:
             case core::BuiltinFn::kClamp:
             case core::BuiltinFn::kCos:
@@ -1330,6 +1337,11 @@
             case core::BuiltinFn::kAtan2:
                 out << "atan";
                 break;
+            case core::BuiltinFn::kAtomicStore:
+                // GLSL does not have an atomicStore, so we emulate it with
+                // atomicExchange.
+                out << "atomicExchange";
+                break;
             case core::BuiltinFn::kCountOneBits:
                 out << "bitCount";
                 break;
diff --git a/test/tint/benchmark/cluster-lights.wgsl.expected.ir.glsl b/test/tint/benchmark/cluster-lights.wgsl.expected.ir.glsl
deleted file mode 100644
index 495510c..0000000
--- a/test/tint/benchmark/cluster-lights.wgsl.expected.ir.glsl
+++ /dev/null
@@ -1,11 +0,0 @@
-SKIP: FAILED
-
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicAdd
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
-
-tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/bug/tint/926.wgsl.expected.ir.glsl b/test/tint/bug/tint/926.wgsl.expected.ir.glsl
index 495510c..1ae308f 100644
--- a/test/tint/bug/tint/926.wgsl.expected.ir.glsl
+++ b/test/tint/bug/tint/926.wgsl.expected.ir.glsl
@@ -1,11 +1,19 @@
-SKIP: FAILED
+#version 310 es
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicAdd
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
 
-tint executable returned error: signal: trace/BPT trap
+struct DrawIndirectArgs {
+  uint vertexCount;
+};
+
+layout(binding = 5, std430)
+buffer tint_symbol_1_1_ssbo {
+  DrawIndirectArgs tint_symbol;
+} v;
+uint cubeVerts = 0u;
+void computeMain_inner(uvec3 global_id) {
+  uint firstVertex = atomicAdd(v.tint_symbol.vertexCount, cubeVerts);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  computeMain_inner(gl_GlobalInvocationID);
+}
diff --git a/test/tint/builtins/atomicStore/array/aliased_arrays.spvasm.expected.ir.glsl b/test/tint/builtins/atomicStore/array/aliased_arrays.spvasm.expected.ir.glsl
index 7292d5c..64be95f 100644
--- a/test/tint/builtins/atomicStore/array/aliased_arrays.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomicStore/array/aliased_arrays.spvasm.expected.ir.glsl
@@ -1,11 +1,62 @@
-SKIP: FAILED
+#version 310 es
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
-
-tint executable returned error: signal: trace/BPT trap
+uint local_invocation_index_1 = 0u;
+shared uint wg[3][2][1];
+uint tint_mod_u32(uint lhs, uint rhs) {
+  uint v = (((rhs == 0u)) ? (1u) : (rhs));
+  return (lhs - ((lhs / v) * v));
+}
+uint tint_div_u32(uint lhs, uint rhs) {
+  return (lhs / (((rhs == 0u)) ? (1u) : (rhs)));
+}
+void compute_main_inner(uint local_invocation_index_2) {
+  uint idx = 0u;
+  idx = local_invocation_index_2;
+  {
+    while(true) {
+      if (!((idx < 6u))) {
+        break;
+      }
+      uint x_31 = idx;
+      uint x_33 = idx;
+      uint x_35 = idx;
+      uint v_1 = tint_div_u32(x_31, 2u);
+      uint v_2 = tint_mod_u32(x_33, 2u);
+      atomicExchange(wg[v_1][v_2][tint_mod_u32(x_35, 1u)], 0u);
+      {
+        idx = (idx + 1u);
+      }
+      continue;
+    }
+  }
+  barrier();
+  atomicExchange(wg[2][1][0], 1u);
+}
+void compute_main_1() {
+  uint x_57 = local_invocation_index_1;
+  compute_main_inner(x_57);
+}
+void compute_main_inner_1(uint local_invocation_index_1_param) {
+  {
+    uint v_3 = 0u;
+    v_3 = local_invocation_index_1_param;
+    while(true) {
+      uint v_4 = v_3;
+      if ((v_4 >= 6u)) {
+        break;
+      }
+      atomicExchange(wg[(v_4 / 2u)][(v_4 % 2u)][0u], 0u);
+      {
+        v_3 = (v_4 + 1u);
+      }
+      continue;
+    }
+  }
+  barrier();
+  local_invocation_index_1 = local_invocation_index_1_param;
+  compute_main_1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  compute_main_inner_1(gl_LocalInvocationIndex);
+}
diff --git a/test/tint/builtins/atomicStore/array/aliased_arrays.wgsl.expected.ir.glsl b/test/tint/builtins/atomicStore/array/aliased_arrays.wgsl.expected.ir.glsl
index 7292d5c..29be9bc 100644
--- a/test/tint/builtins/atomicStore/array/aliased_arrays.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/atomicStore/array/aliased_arrays.wgsl.expected.ir.glsl
@@ -1,11 +1,26 @@
-SKIP: FAILED
+#version 310 es
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
-
-tint executable returned error: signal: trace/BPT trap
+shared uint wg[3][2][1];
+void compute_main_inner(uint tint_local_index) {
+  {
+    uint v = 0u;
+    v = tint_local_index;
+    while(true) {
+      uint v_1 = v;
+      if ((v_1 >= 6u)) {
+        break;
+      }
+      atomicExchange(wg[(v_1 / 2u)][(v_1 % 2u)][0u], 0u);
+      {
+        v = (v_1 + 1u);
+      }
+      continue;
+    }
+  }
+  barrier();
+  atomicExchange(wg[2][1][0], 1u);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  compute_main_inner(gl_LocalInvocationIndex);
+}
diff --git a/test/tint/builtins/atomicStore/array/array.spvasm.expected.ir.glsl b/test/tint/builtins/atomicStore/array/array.spvasm.expected.ir.glsl
index 7292d5c..2569ee4 100644
--- a/test/tint/builtins/atomicStore/array/array.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomicStore/array/array.spvasm.expected.ir.glsl
@@ -1,11 +1,51 @@
-SKIP: FAILED
+#version 310 es
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
-
-tint executable returned error: signal: trace/BPT trap
+uint local_invocation_index_1 = 0u;
+shared uint wg[4];
+void compute_main_inner(uint local_invocation_index_2) {
+  uint idx = 0u;
+  idx = local_invocation_index_2;
+  {
+    while(true) {
+      if (!((idx < 4u))) {
+        break;
+      }
+      uint x_26 = idx;
+      atomicExchange(wg[x_26], 0u);
+      {
+        idx = (idx + 1u);
+      }
+      continue;
+    }
+  }
+  barrier();
+  atomicExchange(wg[1], 1u);
+}
+void compute_main_1() {
+  uint x_47 = local_invocation_index_1;
+  compute_main_inner(x_47);
+}
+void compute_main_inner_1(uint local_invocation_index_1_param) {
+  {
+    uint v = 0u;
+    v = local_invocation_index_1_param;
+    while(true) {
+      uint v_1 = v;
+      if ((v_1 >= 4u)) {
+        break;
+      }
+      atomicExchange(wg[v_1], 0u);
+      {
+        v = (v_1 + 1u);
+      }
+      continue;
+    }
+  }
+  barrier();
+  local_invocation_index_1 = local_invocation_index_1_param;
+  compute_main_1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  compute_main_inner_1(gl_LocalInvocationIndex);
+}
diff --git a/test/tint/builtins/atomicStore/array/array.wgsl.expected.ir.glsl b/test/tint/builtins/atomicStore/array/array.wgsl.expected.ir.glsl
index 7292d5c..0b2b938 100644
--- a/test/tint/builtins/atomicStore/array/array.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/atomicStore/array/array.wgsl.expected.ir.glsl
@@ -1,11 +1,26 @@
-SKIP: FAILED
+#version 310 es
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
-
-tint executable returned error: signal: trace/BPT trap
+shared uint wg[4];
+void compute_main_inner(uint tint_local_index) {
+  {
+    uint v = 0u;
+    v = tint_local_index;
+    while(true) {
+      uint v_1 = v;
+      if ((v_1 >= 4u)) {
+        break;
+      }
+      atomicExchange(wg[v_1], 0u);
+      {
+        v = (v_1 + 1u);
+      }
+      continue;
+    }
+  }
+  barrier();
+  atomicExchange(wg[1], 1u);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  compute_main_inner(gl_LocalInvocationIndex);
+}
diff --git a/test/tint/builtins/atomicStore/array/arrays.spvasm.expected.ir.glsl b/test/tint/builtins/atomicStore/array/arrays.spvasm.expected.ir.glsl
index 7292d5c..64be95f 100644
--- a/test/tint/builtins/atomicStore/array/arrays.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomicStore/array/arrays.spvasm.expected.ir.glsl
@@ -1,11 +1,62 @@
-SKIP: FAILED
+#version 310 es
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
-
-tint executable returned error: signal: trace/BPT trap
+uint local_invocation_index_1 = 0u;
+shared uint wg[3][2][1];
+uint tint_mod_u32(uint lhs, uint rhs) {
+  uint v = (((rhs == 0u)) ? (1u) : (rhs));
+  return (lhs - ((lhs / v) * v));
+}
+uint tint_div_u32(uint lhs, uint rhs) {
+  return (lhs / (((rhs == 0u)) ? (1u) : (rhs)));
+}
+void compute_main_inner(uint local_invocation_index_2) {
+  uint idx = 0u;
+  idx = local_invocation_index_2;
+  {
+    while(true) {
+      if (!((idx < 6u))) {
+        break;
+      }
+      uint x_31 = idx;
+      uint x_33 = idx;
+      uint x_35 = idx;
+      uint v_1 = tint_div_u32(x_31, 2u);
+      uint v_2 = tint_mod_u32(x_33, 2u);
+      atomicExchange(wg[v_1][v_2][tint_mod_u32(x_35, 1u)], 0u);
+      {
+        idx = (idx + 1u);
+      }
+      continue;
+    }
+  }
+  barrier();
+  atomicExchange(wg[2][1][0], 1u);
+}
+void compute_main_1() {
+  uint x_57 = local_invocation_index_1;
+  compute_main_inner(x_57);
+}
+void compute_main_inner_1(uint local_invocation_index_1_param) {
+  {
+    uint v_3 = 0u;
+    v_3 = local_invocation_index_1_param;
+    while(true) {
+      uint v_4 = v_3;
+      if ((v_4 >= 6u)) {
+        break;
+      }
+      atomicExchange(wg[(v_4 / 2u)][(v_4 % 2u)][0u], 0u);
+      {
+        v_3 = (v_4 + 1u);
+      }
+      continue;
+    }
+  }
+  barrier();
+  local_invocation_index_1 = local_invocation_index_1_param;
+  compute_main_1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  compute_main_inner_1(gl_LocalInvocationIndex);
+}
diff --git a/test/tint/builtins/atomicStore/array/arrays.wgsl.expected.ir.glsl b/test/tint/builtins/atomicStore/array/arrays.wgsl.expected.ir.glsl
index 7292d5c..29be9bc 100644
--- a/test/tint/builtins/atomicStore/array/arrays.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/atomicStore/array/arrays.wgsl.expected.ir.glsl
@@ -1,11 +1,26 @@
-SKIP: FAILED
+#version 310 es
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
-
-tint executable returned error: signal: trace/BPT trap
+shared uint wg[3][2][1];
+void compute_main_inner(uint tint_local_index) {
+  {
+    uint v = 0u;
+    v = tint_local_index;
+    while(true) {
+      uint v_1 = v;
+      if ((v_1 >= 6u)) {
+        break;
+      }
+      atomicExchange(wg[(v_1 / 2u)][(v_1 % 2u)][0u], 0u);
+      {
+        v = (v_1 + 1u);
+      }
+      continue;
+    }
+  }
+  barrier();
+  atomicExchange(wg[2][1][0], 1u);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  compute_main_inner(gl_LocalInvocationIndex);
+}
diff --git a/test/tint/builtins/atomicStore/struct/array_of_struct.spvasm.expected.ir.glsl b/test/tint/builtins/atomicStore/struct/array_of_struct.spvasm.expected.ir.glsl
index 7292d5c..7e232fc 100644
--- a/test/tint/builtins/atomicStore/struct/array_of_struct.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomicStore/struct/array_of_struct.spvasm.expected.ir.glsl
@@ -1,11 +1,62 @@
-SKIP: FAILED
+#version 310 es
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
 
-tint executable returned error: signal: trace/BPT trap
+struct S_atomic {
+  int x;
+  uint a;
+  uint y;
+};
+
+uint local_invocation_index_1 = 0u;
+shared S_atomic wg[10];
+void compute_main_inner(uint local_invocation_index_2) {
+  uint idx = 0u;
+  idx = local_invocation_index_2;
+  {
+    while(true) {
+      if (!((idx < 10u))) {
+        break;
+      }
+      uint x_28 = idx;
+      wg[x_28].x = 0;
+      atomicExchange(wg[x_28].a, 0u);
+      wg[x_28].y = 0u;
+      {
+        idx = (idx + 1u);
+      }
+      continue;
+    }
+  }
+  barrier();
+  atomicExchange(wg[4].a, 1u);
+}
+void compute_main_1() {
+  uint x_53 = local_invocation_index_1;
+  compute_main_inner(x_53);
+}
+void compute_main_inner_1(uint local_invocation_index_1_param) {
+  {
+    uint v = 0u;
+    v = local_invocation_index_1_param;
+    while(true) {
+      uint v_1 = v;
+      if ((v_1 >= 10u)) {
+        break;
+      }
+      wg[v_1].x = 0;
+      atomicExchange(wg[v_1].a, 0u);
+      wg[v_1].y = 0u;
+      {
+        v = (v_1 + 1u);
+      }
+      continue;
+    }
+  }
+  barrier();
+  local_invocation_index_1 = local_invocation_index_1_param;
+  compute_main_1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  compute_main_inner_1(gl_LocalInvocationIndex);
+}
diff --git a/test/tint/builtins/atomicStore/struct/array_of_struct.wgsl.expected.ir.glsl b/test/tint/builtins/atomicStore/struct/array_of_struct.wgsl.expected.ir.glsl
index 7292d5c..7979a57 100644
--- a/test/tint/builtins/atomicStore/struct/array_of_struct.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/atomicStore/struct/array_of_struct.wgsl.expected.ir.glsl
@@ -1,11 +1,35 @@
-SKIP: FAILED
+#version 310 es
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
 
-tint executable returned error: signal: trace/BPT trap
+struct S {
+  int x;
+  uint a;
+  uint y;
+};
+
+shared S wg[10];
+void compute_main_inner(uint tint_local_index) {
+  {
+    uint v = 0u;
+    v = tint_local_index;
+    while(true) {
+      uint v_1 = v;
+      if ((v_1 >= 10u)) {
+        break;
+      }
+      wg[v_1].x = 0;
+      atomicExchange(wg[v_1].a, 0u);
+      wg[v_1].y = 0u;
+      {
+        v = (v_1 + 1u);
+      }
+      continue;
+    }
+  }
+  barrier();
+  atomicExchange(wg[4].a, 1u);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  compute_main_inner(gl_LocalInvocationIndex);
+}
diff --git a/test/tint/builtins/atomicStore/struct/flat_multiple_atomics.spvasm.expected.ir.glsl b/test/tint/builtins/atomicStore/struct/flat_multiple_atomics.spvasm.expected.ir.glsl
index 7292d5c..e8f6a09 100644
--- a/test/tint/builtins/atomicStore/struct/flat_multiple_atomics.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomicStore/struct/flat_multiple_atomics.spvasm.expected.ir.glsl
@@ -1,11 +1,37 @@
-SKIP: FAILED
+#version 310 es
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
 
-tint executable returned error: signal: trace/BPT trap
+struct S_atomic {
+  int x;
+  uint a;
+  uint b;
+};
+
+uint local_invocation_index_1 = 0u;
+shared S_atomic wg;
+void compute_main_inner(uint local_invocation_index_2) {
+  wg.x = 0;
+  atomicExchange(wg.a, 0u);
+  atomicExchange(wg.b, 0u);
+  barrier();
+  atomicExchange(wg.a, 1u);
+  atomicExchange(wg.b, 2u);
+}
+void compute_main_1() {
+  uint x_39 = local_invocation_index_1;
+  compute_main_inner(x_39);
+}
+void compute_main_inner_1(uint local_invocation_index_1_param) {
+  if ((local_invocation_index_1_param == 0u)) {
+    wg.x = 0;
+    atomicExchange(wg.a, 0u);
+    atomicExchange(wg.b, 0u);
+  }
+  barrier();
+  local_invocation_index_1 = local_invocation_index_1_param;
+  compute_main_1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  compute_main_inner_1(gl_LocalInvocationIndex);
+}
diff --git a/test/tint/builtins/atomicStore/struct/flat_multiple_atomics.wgsl.expected.ir.glsl b/test/tint/builtins/atomicStore/struct/flat_multiple_atomics.wgsl.expected.ir.glsl
index 7292d5c..7b9b5b7 100644
--- a/test/tint/builtins/atomicStore/struct/flat_multiple_atomics.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/atomicStore/struct/flat_multiple_atomics.wgsl.expected.ir.glsl
@@ -1,11 +1,24 @@
-SKIP: FAILED
+#version 310 es
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
 
-tint executable returned error: signal: trace/BPT trap
+struct S {
+  int x;
+  uint a;
+  uint b;
+};
+
+shared S wg;
+void compute_main_inner(uint tint_local_index) {
+  if ((tint_local_index == 0u)) {
+    wg.x = 0;
+    atomicExchange(wg.a, 0u);
+    atomicExchange(wg.b, 0u);
+  }
+  barrier();
+  atomicExchange(wg.a, 1u);
+  atomicExchange(wg.b, 2u);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  compute_main_inner(gl_LocalInvocationIndex);
+}
diff --git a/test/tint/builtins/atomicStore/struct/flat_single_atomic.spvasm.expected.ir.glsl b/test/tint/builtins/atomicStore/struct/flat_single_atomic.spvasm.expected.ir.glsl
index 7292d5c..e6834a6 100644
--- a/test/tint/builtins/atomicStore/struct/flat_single_atomic.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomicStore/struct/flat_single_atomic.spvasm.expected.ir.glsl
@@ -1,11 +1,36 @@
-SKIP: FAILED
+#version 310 es
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
 
-tint executable returned error: signal: trace/BPT trap
+struct S_atomic {
+  int x;
+  uint a;
+  uint y;
+};
+
+uint local_invocation_index_1 = 0u;
+shared S_atomic wg;
+void compute_main_inner(uint local_invocation_index_2) {
+  wg.x = 0;
+  atomicExchange(wg.a, 0u);
+  wg.y = 0u;
+  barrier();
+  atomicExchange(wg.a, 1u);
+}
+void compute_main_1() {
+  uint x_35 = local_invocation_index_1;
+  compute_main_inner(x_35);
+}
+void compute_main_inner_1(uint local_invocation_index_1_param) {
+  if ((local_invocation_index_1_param == 0u)) {
+    wg.x = 0;
+    atomicExchange(wg.a, 0u);
+    wg.y = 0u;
+  }
+  barrier();
+  local_invocation_index_1 = local_invocation_index_1_param;
+  compute_main_1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  compute_main_inner_1(gl_LocalInvocationIndex);
+}
diff --git a/test/tint/builtins/atomicStore/struct/flat_single_atomic.wgsl.expected.ir.glsl b/test/tint/builtins/atomicStore/struct/flat_single_atomic.wgsl.expected.ir.glsl
index 7292d5c..2705eb9 100644
--- a/test/tint/builtins/atomicStore/struct/flat_single_atomic.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/atomicStore/struct/flat_single_atomic.wgsl.expected.ir.glsl
@@ -1,11 +1,23 @@
-SKIP: FAILED
+#version 310 es
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
 
-tint executable returned error: signal: trace/BPT trap
+struct S {
+  int x;
+  uint a;
+  uint y;
+};
+
+shared S wg;
+void compute_main_inner(uint tint_local_index) {
+  if ((tint_local_index == 0u)) {
+    wg.x = 0;
+    atomicExchange(wg.a, 0u);
+    wg.y = 0u;
+  }
+  barrier();
+  atomicExchange(wg.a, 1u);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  compute_main_inner(gl_LocalInvocationIndex);
+}
diff --git a/test/tint/builtins/atomicStore/struct/nested.spvasm.expected.ir.glsl b/test/tint/builtins/atomicStore/struct/nested.spvasm.expected.ir.glsl
index 7292d5c..2667e7d 100644
--- a/test/tint/builtins/atomicStore/struct/nested.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomicStore/struct/nested.spvasm.expected.ir.glsl
@@ -1,11 +1,65 @@
-SKIP: FAILED
+#version 310 es
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
 
-tint executable returned error: signal: trace/BPT trap
+struct S0_atomic {
+  int x;
+  uint a;
+  int y;
+  int z;
+};
+
+struct S1_atomic {
+  int x;
+  S0_atomic a;
+  int y;
+  int z;
+};
+
+struct S2_atomic {
+  int x;
+  int y;
+  int z;
+  S1_atomic a;
+};
+
+uint local_invocation_index_1 = 0u;
+shared S2_atomic wg;
+void compute_main_inner(uint local_invocation_index_2) {
+  wg.x = 0;
+  wg.y = 0;
+  wg.z = 0;
+  wg.a.x = 0;
+  wg.a.a.x = 0;
+  atomicExchange(wg.a.a.a, 0u);
+  wg.a.a.y = 0;
+  wg.a.a.z = 0;
+  wg.a.y = 0;
+  wg.a.z = 0;
+  barrier();
+  atomicExchange(wg.a.a.a, 1u);
+}
+void compute_main_1() {
+  uint x_44 = local_invocation_index_1;
+  compute_main_inner(x_44);
+}
+void compute_main_inner_1(uint local_invocation_index_1_param) {
+  if ((local_invocation_index_1_param == 0u)) {
+    wg.x = 0;
+    wg.y = 0;
+    wg.z = 0;
+    wg.a.x = 0;
+    wg.a.a.x = 0;
+    atomicExchange(wg.a.a.a, 0u);
+    wg.a.a.y = 0;
+    wg.a.a.z = 0;
+    wg.a.y = 0;
+    wg.a.z = 0;
+  }
+  barrier();
+  local_invocation_index_1 = local_invocation_index_1_param;
+  compute_main_1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  compute_main_inner_1(gl_LocalInvocationIndex);
+}
diff --git a/test/tint/builtins/atomicStore/struct/nested.wgsl.expected.ir.glsl b/test/tint/builtins/atomicStore/struct/nested.wgsl.expected.ir.glsl
index 7292d5c..7381ab2 100644
--- a/test/tint/builtins/atomicStore/struct/nested.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/atomicStore/struct/nested.wgsl.expected.ir.glsl
@@ -1,11 +1,45 @@
-SKIP: FAILED
+#version 310 es
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
 
-tint executable returned error: signal: trace/BPT trap
+struct S0 {
+  int x;
+  uint a;
+  int y;
+  int z;
+};
+
+struct S1 {
+  int x;
+  S0 a;
+  int y;
+  int z;
+};
+
+struct S2 {
+  int x;
+  int y;
+  int z;
+  S1 a;
+};
+
+shared S2 wg;
+void compute_main_inner(uint tint_local_index) {
+  if ((tint_local_index == 0u)) {
+    wg.x = 0;
+    wg.y = 0;
+    wg.z = 0;
+    wg.a.x = 0;
+    wg.a.a.x = 0;
+    atomicExchange(wg.a.a.a, 0u);
+    wg.a.a.y = 0;
+    wg.a.a.z = 0;
+    wg.a.y = 0;
+    wg.a.z = 0;
+  }
+  barrier();
+  atomicExchange(wg.a.a.a, 1u);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  compute_main_inner(gl_LocalInvocationIndex);
+}
diff --git a/test/tint/builtins/atomicStore/struct/struct_of_array.spvasm.expected.ir.glsl b/test/tint/builtins/atomicStore/struct/struct_of_array.spvasm.expected.ir.glsl
index 7292d5c..76b7247 100644
--- a/test/tint/builtins/atomicStore/struct/struct_of_array.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomicStore/struct/struct_of_array.spvasm.expected.ir.glsl
@@ -1,11 +1,64 @@
-SKIP: FAILED
+#version 310 es
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
 
-tint executable returned error: signal: trace/BPT trap
+struct S_atomic {
+  int x;
+  uint a[10];
+  uint y;
+};
+
+uint local_invocation_index_1 = 0u;
+shared S_atomic wg;
+void compute_main_inner(uint local_invocation_index_2) {
+  uint idx = 0u;
+  wg.x = 0;
+  wg.y = 0u;
+  idx = local_invocation_index_2;
+  {
+    while(true) {
+      if (!((idx < 10u))) {
+        break;
+      }
+      uint x_35 = idx;
+      atomicExchange(wg.a[x_35], 0u);
+      {
+        idx = (idx + 1u);
+      }
+      continue;
+    }
+  }
+  barrier();
+  atomicExchange(wg.a[4], 1u);
+}
+void compute_main_1() {
+  uint x_53 = local_invocation_index_1;
+  compute_main_inner(x_53);
+}
+void compute_main_inner_1(uint local_invocation_index_1_param) {
+  if ((local_invocation_index_1_param == 0u)) {
+    wg.x = 0;
+    wg.y = 0u;
+  }
+  {
+    uint v = 0u;
+    v = local_invocation_index_1_param;
+    while(true) {
+      uint v_1 = v;
+      if ((v_1 >= 10u)) {
+        break;
+      }
+      atomicExchange(wg.a[v_1], 0u);
+      {
+        v = (v_1 + 1u);
+      }
+      continue;
+    }
+  }
+  barrier();
+  local_invocation_index_1 = local_invocation_index_1_param;
+  compute_main_1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  compute_main_inner_1(gl_LocalInvocationIndex);
+}
diff --git a/test/tint/builtins/atomicStore/struct/struct_of_array.wgsl.expected.ir.glsl b/test/tint/builtins/atomicStore/struct/struct_of_array.wgsl.expected.ir.glsl
index 7292d5c..0abefd1 100644
--- a/test/tint/builtins/atomicStore/struct/struct_of_array.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/atomicStore/struct/struct_of_array.wgsl.expected.ir.glsl
@@ -1,11 +1,37 @@
-SKIP: FAILED
+#version 310 es
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
 
-tint executable returned error: signal: trace/BPT trap
+struct S {
+  int x;
+  uint a[10];
+  uint y;
+};
+
+shared S wg;
+void compute_main_inner(uint tint_local_index) {
+  if ((tint_local_index == 0u)) {
+    wg.x = 0;
+    wg.y = 0u;
+  }
+  {
+    uint v = 0u;
+    v = tint_local_index;
+    while(true) {
+      uint v_1 = v;
+      if ((v_1 >= 10u)) {
+        break;
+      }
+      atomicExchange(wg.a[v_1], 0u);
+      {
+        v = (v_1 + 1u);
+      }
+      continue;
+    }
+  }
+  barrier();
+  atomicExchange(wg.a[4], 1u);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  compute_main_inner(gl_LocalInvocationIndex);
+}
diff --git a/test/tint/builtins/atomicStore/struct/via_ptr_let.spvasm.expected.ir.glsl b/test/tint/builtins/atomicStore/struct/via_ptr_let.spvasm.expected.ir.glsl
index 7292d5c..e6834a6 100644
--- a/test/tint/builtins/atomicStore/struct/via_ptr_let.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomicStore/struct/via_ptr_let.spvasm.expected.ir.glsl
@@ -1,11 +1,36 @@
-SKIP: FAILED
+#version 310 es
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
 
-tint executable returned error: signal: trace/BPT trap
+struct S_atomic {
+  int x;
+  uint a;
+  uint y;
+};
+
+uint local_invocation_index_1 = 0u;
+shared S_atomic wg;
+void compute_main_inner(uint local_invocation_index_2) {
+  wg.x = 0;
+  atomicExchange(wg.a, 0u);
+  wg.y = 0u;
+  barrier();
+  atomicExchange(wg.a, 1u);
+}
+void compute_main_1() {
+  uint x_35 = local_invocation_index_1;
+  compute_main_inner(x_35);
+}
+void compute_main_inner_1(uint local_invocation_index_1_param) {
+  if ((local_invocation_index_1_param == 0u)) {
+    wg.x = 0;
+    atomicExchange(wg.a, 0u);
+    wg.y = 0u;
+  }
+  barrier();
+  local_invocation_index_1 = local_invocation_index_1_param;
+  compute_main_1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  compute_main_inner_1(gl_LocalInvocationIndex);
+}
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicAdd/storage_i32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/literal/atomicAdd/storage_i32.spvasm.expected.ir.glsl
index 495510c..f080a4b 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicAdd/storage_i32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicAdd/storage_i32.spvasm.expected.ir.glsl
@@ -1,11 +1,47 @@
-SKIP: FAILED
+#version 310 es
+precision highp float;
+precision highp int;
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicAdd
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
 
-tint executable returned error: signal: trace/BPT trap
+struct SB_RW_atomic {
+  int arg_0;
+};
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  SB_RW_atomic tint_symbol;
+} v;
+void atomicAdd_d32fe4() {
+  int res = 0;
+  int x_9 = atomicAdd(v.tint_symbol.arg_0, 1);
+  res = x_9;
+}
+void fragment_main_1() {
+  atomicAdd_d32fe4();
+}
+void main() {
+  fragment_main_1();
+}
+#version 310 es
+
+
+struct SB_RW_atomic {
+  int arg_0;
+};
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  SB_RW_atomic tint_symbol;
+} v;
+void atomicAdd_d32fe4() {
+  int res = 0;
+  int x_9 = atomicAdd(v.tint_symbol.arg_0, 1);
+  res = x_9;
+}
+void compute_main_1() {
+  atomicAdd_d32fe4();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  compute_main_1();
+}
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicAdd/storage_u32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/literal/atomicAdd/storage_u32.spvasm.expected.ir.glsl
index 495510c..aa0a653 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicAdd/storage_u32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicAdd/storage_u32.spvasm.expected.ir.glsl
@@ -1,11 +1,47 @@
-SKIP: FAILED
+#version 310 es
+precision highp float;
+precision highp int;
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicAdd
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
 
-tint executable returned error: signal: trace/BPT trap
+struct SB_RW_atomic {
+  uint arg_0;
+};
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  SB_RW_atomic tint_symbol;
+} v;
+void atomicAdd_8a199a() {
+  uint res = 0u;
+  uint x_9 = atomicAdd(v.tint_symbol.arg_0, 1u);
+  res = x_9;
+}
+void fragment_main_1() {
+  atomicAdd_8a199a();
+}
+void main() {
+  fragment_main_1();
+}
+#version 310 es
+
+
+struct SB_RW_atomic {
+  uint arg_0;
+};
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  SB_RW_atomic tint_symbol;
+} v;
+void atomicAdd_8a199a() {
+  uint res = 0u;
+  uint x_9 = atomicAdd(v.tint_symbol.arg_0, 1u);
+  res = x_9;
+}
+void compute_main_1() {
+  atomicAdd_8a199a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  compute_main_1();
+}
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicAdd/workgroup_i32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/literal/atomicAdd/workgroup_i32.spvasm.expected.ir.glsl
index 495510c..6ddceae 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicAdd/workgroup_i32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicAdd/workgroup_i32.spvasm.expected.ir.glsl
@@ -1,11 +1,30 @@
-SKIP: FAILED
+#version 310 es
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicAdd
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
-
-tint executable returned error: signal: trace/BPT trap
+uint local_invocation_index_1 = 0u;
+shared int arg_0;
+void atomicAdd_794055() {
+  int res = 0;
+  int x_11 = atomicAdd(arg_0, 1);
+  res = x_11;
+}
+void compute_main_inner(uint local_invocation_index_2) {
+  atomicExchange(arg_0, 0);
+  barrier();
+  atomicAdd_794055();
+}
+void compute_main_1() {
+  uint x_31 = local_invocation_index_1;
+  compute_main_inner(x_31);
+}
+void compute_main_inner_1(uint local_invocation_index_1_param) {
+  if ((local_invocation_index_1_param == 0u)) {
+    atomicExchange(arg_0, 0);
+  }
+  barrier();
+  local_invocation_index_1 = local_invocation_index_1_param;
+  compute_main_1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  compute_main_inner_1(gl_LocalInvocationIndex);
+}
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicAdd/workgroup_u32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/literal/atomicAdd/workgroup_u32.spvasm.expected.ir.glsl
index 495510c..88eba6a 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicAdd/workgroup_u32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicAdd/workgroup_u32.spvasm.expected.ir.glsl
@@ -1,11 +1,30 @@
-SKIP: FAILED
+#version 310 es
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicAdd
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
-
-tint executable returned error: signal: trace/BPT trap
+uint local_invocation_index_1 = 0u;
+shared uint arg_0;
+void atomicAdd_d5db1d() {
+  uint res = 0u;
+  uint x_10 = atomicAdd(arg_0, 1u);
+  res = x_10;
+}
+void compute_main_inner(uint local_invocation_index_2) {
+  atomicExchange(arg_0, 0u);
+  barrier();
+  atomicAdd_d5db1d();
+}
+void compute_main_1() {
+  uint x_30 = local_invocation_index_1;
+  compute_main_inner(x_30);
+}
+void compute_main_inner_1(uint local_invocation_index_1_param) {
+  if ((local_invocation_index_1_param == 0u)) {
+    atomicExchange(arg_0, 0u);
+  }
+  barrier();
+  local_invocation_index_1 = local_invocation_index_1_param;
+  compute_main_1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  compute_main_inner_1(gl_LocalInvocationIndex);
+}
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicAnd/storage_i32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/literal/atomicAnd/storage_i32.spvasm.expected.ir.glsl
index 0ecc6ec..534e58b 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicAnd/storage_i32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicAnd/storage_i32.spvasm.expected.ir.glsl
@@ -1,11 +1,47 @@
-SKIP: FAILED
+#version 310 es
+precision highp float;
+precision highp int;
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicAnd
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
 
-tint executable returned error: signal: trace/BPT trap
+struct SB_RW_atomic {
+  int arg_0;
+};
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  SB_RW_atomic tint_symbol;
+} v;
+void atomicAnd_152966() {
+  int res = 0;
+  int x_9 = atomicAnd(v.tint_symbol.arg_0, 1);
+  res = x_9;
+}
+void fragment_main_1() {
+  atomicAnd_152966();
+}
+void main() {
+  fragment_main_1();
+}
+#version 310 es
+
+
+struct SB_RW_atomic {
+  int arg_0;
+};
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  SB_RW_atomic tint_symbol;
+} v;
+void atomicAnd_152966() {
+  int res = 0;
+  int x_9 = atomicAnd(v.tint_symbol.arg_0, 1);
+  res = x_9;
+}
+void compute_main_1() {
+  atomicAnd_152966();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  compute_main_1();
+}
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicAnd/storage_u32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/literal/atomicAnd/storage_u32.spvasm.expected.ir.glsl
index 0ecc6ec..ada85d8 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicAnd/storage_u32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicAnd/storage_u32.spvasm.expected.ir.glsl
@@ -1,11 +1,47 @@
-SKIP: FAILED
+#version 310 es
+precision highp float;
+precision highp int;
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicAnd
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
 
-tint executable returned error: signal: trace/BPT trap
+struct SB_RW_atomic {
+  uint arg_0;
+};
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  SB_RW_atomic tint_symbol;
+} v;
+void atomicAnd_85a8d9() {
+  uint res = 0u;
+  uint x_9 = atomicAnd(v.tint_symbol.arg_0, 1u);
+  res = x_9;
+}
+void fragment_main_1() {
+  atomicAnd_85a8d9();
+}
+void main() {
+  fragment_main_1();
+}
+#version 310 es
+
+
+struct SB_RW_atomic {
+  uint arg_0;
+};
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  SB_RW_atomic tint_symbol;
+} v;
+void atomicAnd_85a8d9() {
+  uint res = 0u;
+  uint x_9 = atomicAnd(v.tint_symbol.arg_0, 1u);
+  res = x_9;
+}
+void compute_main_1() {
+  atomicAnd_85a8d9();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  compute_main_1();
+}
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicAnd/workgroup_i32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/literal/atomicAnd/workgroup_i32.spvasm.expected.ir.glsl
index 0ecc6ec..e7fdcf0 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicAnd/workgroup_i32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicAnd/workgroup_i32.spvasm.expected.ir.glsl
@@ -1,11 +1,30 @@
-SKIP: FAILED
+#version 310 es
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicAnd
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
-
-tint executable returned error: signal: trace/BPT trap
+uint local_invocation_index_1 = 0u;
+shared int arg_0;
+void atomicAnd_45a819() {
+  int res = 0;
+  int x_11 = atomicAnd(arg_0, 1);
+  res = x_11;
+}
+void compute_main_inner(uint local_invocation_index_2) {
+  atomicExchange(arg_0, 0);
+  barrier();
+  atomicAnd_45a819();
+}
+void compute_main_1() {
+  uint x_31 = local_invocation_index_1;
+  compute_main_inner(x_31);
+}
+void compute_main_inner_1(uint local_invocation_index_1_param) {
+  if ((local_invocation_index_1_param == 0u)) {
+    atomicExchange(arg_0, 0);
+  }
+  barrier();
+  local_invocation_index_1 = local_invocation_index_1_param;
+  compute_main_1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  compute_main_inner_1(gl_LocalInvocationIndex);
+}
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicAnd/workgroup_u32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/literal/atomicAnd/workgroup_u32.spvasm.expected.ir.glsl
index 0ecc6ec..d9a58fa 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicAnd/workgroup_u32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicAnd/workgroup_u32.spvasm.expected.ir.glsl
@@ -1,11 +1,30 @@
-SKIP: FAILED
+#version 310 es
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicAnd
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
-
-tint executable returned error: signal: trace/BPT trap
+uint local_invocation_index_1 = 0u;
+shared uint arg_0;
+void atomicAnd_34edd3() {
+  uint res = 0u;
+  uint x_10 = atomicAnd(arg_0, 1u);
+  res = x_10;
+}
+void compute_main_inner(uint local_invocation_index_2) {
+  atomicExchange(arg_0, 0u);
+  barrier();
+  atomicAnd_34edd3();
+}
+void compute_main_1() {
+  uint x_30 = local_invocation_index_1;
+  compute_main_inner(x_30);
+}
+void compute_main_inner_1(uint local_invocation_index_1_param) {
+  if ((local_invocation_index_1_param == 0u)) {
+    atomicExchange(arg_0, 0u);
+  }
+  barrier();
+  local_invocation_index_1 = local_invocation_index_1_param;
+  compute_main_1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  compute_main_inner_1(gl_LocalInvocationIndex);
+}
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicExchange/storage_i32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/literal/atomicExchange/storage_i32.spvasm.expected.ir.glsl
index 5fe4435..67d7bdf 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicExchange/storage_i32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicExchange/storage_i32.spvasm.expected.ir.glsl
@@ -1,11 +1,47 @@
-SKIP: FAILED
+#version 310 es
+precision highp float;
+precision highp int;
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicExchange
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
 
-tint executable returned error: signal: trace/BPT trap
+struct SB_RW_atomic {
+  int arg_0;
+};
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  SB_RW_atomic tint_symbol;
+} v;
+void atomicExchange_f2e22f() {
+  int res = 0;
+  int x_9 = atomicExchange(v.tint_symbol.arg_0, 1);
+  res = x_9;
+}
+void fragment_main_1() {
+  atomicExchange_f2e22f();
+}
+void main() {
+  fragment_main_1();
+}
+#version 310 es
+
+
+struct SB_RW_atomic {
+  int arg_0;
+};
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  SB_RW_atomic tint_symbol;
+} v;
+void atomicExchange_f2e22f() {
+  int res = 0;
+  int x_9 = atomicExchange(v.tint_symbol.arg_0, 1);
+  res = x_9;
+}
+void compute_main_1() {
+  atomicExchange_f2e22f();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  compute_main_1();
+}
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicExchange/storage_u32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/literal/atomicExchange/storage_u32.spvasm.expected.ir.glsl
index 5fe4435..585a565 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicExchange/storage_u32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicExchange/storage_u32.spvasm.expected.ir.glsl
@@ -1,11 +1,47 @@
-SKIP: FAILED
+#version 310 es
+precision highp float;
+precision highp int;
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicExchange
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
 
-tint executable returned error: signal: trace/BPT trap
+struct SB_RW_atomic {
+  uint arg_0;
+};
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  SB_RW_atomic tint_symbol;
+} v;
+void atomicExchange_d59712() {
+  uint res = 0u;
+  uint x_9 = atomicExchange(v.tint_symbol.arg_0, 1u);
+  res = x_9;
+}
+void fragment_main_1() {
+  atomicExchange_d59712();
+}
+void main() {
+  fragment_main_1();
+}
+#version 310 es
+
+
+struct SB_RW_atomic {
+  uint arg_0;
+};
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  SB_RW_atomic tint_symbol;
+} v;
+void atomicExchange_d59712() {
+  uint res = 0u;
+  uint x_9 = atomicExchange(v.tint_symbol.arg_0, 1u);
+  res = x_9;
+}
+void compute_main_1() {
+  atomicExchange_d59712();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  compute_main_1();
+}
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicExchange/workgroup_i32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/literal/atomicExchange/workgroup_i32.spvasm.expected.ir.glsl
index 5fe4435..4178cb0 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicExchange/workgroup_i32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicExchange/workgroup_i32.spvasm.expected.ir.glsl
@@ -1,11 +1,30 @@
-SKIP: FAILED
+#version 310 es
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicExchange
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
-
-tint executable returned error: signal: trace/BPT trap
+uint local_invocation_index_1 = 0u;
+shared int arg_0;
+void atomicExchange_e114ba() {
+  int res = 0;
+  int x_11 = atomicExchange(arg_0, 1);
+  res = x_11;
+}
+void compute_main_inner(uint local_invocation_index_2) {
+  atomicExchange(arg_0, 0);
+  barrier();
+  atomicExchange_e114ba();
+}
+void compute_main_1() {
+  uint x_31 = local_invocation_index_1;
+  compute_main_inner(x_31);
+}
+void compute_main_inner_1(uint local_invocation_index_1_param) {
+  if ((local_invocation_index_1_param == 0u)) {
+    atomicExchange(arg_0, 0);
+  }
+  barrier();
+  local_invocation_index_1 = local_invocation_index_1_param;
+  compute_main_1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  compute_main_inner_1(gl_LocalInvocationIndex);
+}
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicExchange/workgroup_u32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/literal/atomicExchange/workgroup_u32.spvasm.expected.ir.glsl
index 5fe4435..541454c 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicExchange/workgroup_u32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicExchange/workgroup_u32.spvasm.expected.ir.glsl
@@ -1,11 +1,30 @@
-SKIP: FAILED
+#version 310 es
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicExchange
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
-
-tint executable returned error: signal: trace/BPT trap
+uint local_invocation_index_1 = 0u;
+shared uint arg_0;
+void atomicExchange_0a5dca() {
+  uint res = 0u;
+  uint x_10 = atomicExchange(arg_0, 1u);
+  res = x_10;
+}
+void compute_main_inner(uint local_invocation_index_2) {
+  atomicExchange(arg_0, 0u);
+  barrier();
+  atomicExchange_0a5dca();
+}
+void compute_main_1() {
+  uint x_30 = local_invocation_index_1;
+  compute_main_inner(x_30);
+}
+void compute_main_inner_1(uint local_invocation_index_1_param) {
+  if ((local_invocation_index_1_param == 0u)) {
+    atomicExchange(arg_0, 0u);
+  }
+  barrier();
+  local_invocation_index_1 = local_invocation_index_1_param;
+  compute_main_1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  compute_main_inner_1(gl_LocalInvocationIndex);
+}
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicMax/storage_i32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/literal/atomicMax/storage_i32.spvasm.expected.ir.glsl
index b6d6816..99366f7 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicMax/storage_i32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicMax/storage_i32.spvasm.expected.ir.glsl
@@ -1,11 +1,47 @@
-SKIP: FAILED
+#version 310 es
+precision highp float;
+precision highp int;
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicMax
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
 
-tint executable returned error: signal: trace/BPT trap
+struct SB_RW_atomic {
+  int arg_0;
+};
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  SB_RW_atomic tint_symbol;
+} v;
+void atomicMax_92aa72() {
+  int res = 0;
+  int x_9 = atomicMax(v.tint_symbol.arg_0, 1);
+  res = x_9;
+}
+void fragment_main_1() {
+  atomicMax_92aa72();
+}
+void main() {
+  fragment_main_1();
+}
+#version 310 es
+
+
+struct SB_RW_atomic {
+  int arg_0;
+};
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  SB_RW_atomic tint_symbol;
+} v;
+void atomicMax_92aa72() {
+  int res = 0;
+  int x_9 = atomicMax(v.tint_symbol.arg_0, 1);
+  res = x_9;
+}
+void compute_main_1() {
+  atomicMax_92aa72();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  compute_main_1();
+}
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicMax/storage_u32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/literal/atomicMax/storage_u32.spvasm.expected.ir.glsl
index b6d6816..efc8312 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicMax/storage_u32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicMax/storage_u32.spvasm.expected.ir.glsl
@@ -1,11 +1,47 @@
-SKIP: FAILED
+#version 310 es
+precision highp float;
+precision highp int;
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicMax
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
 
-tint executable returned error: signal: trace/BPT trap
+struct SB_RW_atomic {
+  uint arg_0;
+};
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  SB_RW_atomic tint_symbol;
+} v;
+void atomicMax_51b9be() {
+  uint res = 0u;
+  uint x_9 = atomicMax(v.tint_symbol.arg_0, 1u);
+  res = x_9;
+}
+void fragment_main_1() {
+  atomicMax_51b9be();
+}
+void main() {
+  fragment_main_1();
+}
+#version 310 es
+
+
+struct SB_RW_atomic {
+  uint arg_0;
+};
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  SB_RW_atomic tint_symbol;
+} v;
+void atomicMax_51b9be() {
+  uint res = 0u;
+  uint x_9 = atomicMax(v.tint_symbol.arg_0, 1u);
+  res = x_9;
+}
+void compute_main_1() {
+  atomicMax_51b9be();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  compute_main_1();
+}
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicMax/workgroup_i32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/literal/atomicMax/workgroup_i32.spvasm.expected.ir.glsl
index b6d6816..3104cb1 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicMax/workgroup_i32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicMax/workgroup_i32.spvasm.expected.ir.glsl
@@ -1,11 +1,30 @@
-SKIP: FAILED
+#version 310 es
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicMax
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
-
-tint executable returned error: signal: trace/BPT trap
+uint local_invocation_index_1 = 0u;
+shared int arg_0;
+void atomicMax_a89cc3() {
+  int res = 0;
+  int x_11 = atomicMax(arg_0, 1);
+  res = x_11;
+}
+void compute_main_inner(uint local_invocation_index_2) {
+  atomicExchange(arg_0, 0);
+  barrier();
+  atomicMax_a89cc3();
+}
+void compute_main_1() {
+  uint x_31 = local_invocation_index_1;
+  compute_main_inner(x_31);
+}
+void compute_main_inner_1(uint local_invocation_index_1_param) {
+  if ((local_invocation_index_1_param == 0u)) {
+    atomicExchange(arg_0, 0);
+  }
+  barrier();
+  local_invocation_index_1 = local_invocation_index_1_param;
+  compute_main_1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  compute_main_inner_1(gl_LocalInvocationIndex);
+}
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicMax/workgroup_u32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/literal/atomicMax/workgroup_u32.spvasm.expected.ir.glsl
index b6d6816..0f07faf 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicMax/workgroup_u32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicMax/workgroup_u32.spvasm.expected.ir.glsl
@@ -1,11 +1,30 @@
-SKIP: FAILED
+#version 310 es
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicMax
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
-
-tint executable returned error: signal: trace/BPT trap
+uint local_invocation_index_1 = 0u;
+shared uint arg_0;
+void atomicMax_beccfc() {
+  uint res = 0u;
+  uint x_10 = atomicMax(arg_0, 1u);
+  res = x_10;
+}
+void compute_main_inner(uint local_invocation_index_2) {
+  atomicExchange(arg_0, 0u);
+  barrier();
+  atomicMax_beccfc();
+}
+void compute_main_1() {
+  uint x_30 = local_invocation_index_1;
+  compute_main_inner(x_30);
+}
+void compute_main_inner_1(uint local_invocation_index_1_param) {
+  if ((local_invocation_index_1_param == 0u)) {
+    atomicExchange(arg_0, 0u);
+  }
+  barrier();
+  local_invocation_index_1 = local_invocation_index_1_param;
+  compute_main_1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  compute_main_inner_1(gl_LocalInvocationIndex);
+}
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicMin/storage_i32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/literal/atomicMin/storage_i32.spvasm.expected.ir.glsl
index cce989d..fd0fe18 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicMin/storage_i32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicMin/storage_i32.spvasm.expected.ir.glsl
@@ -1,11 +1,47 @@
-SKIP: FAILED
+#version 310 es
+precision highp float;
+precision highp int;
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicMin
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
 
-tint executable returned error: signal: trace/BPT trap
+struct SB_RW_atomic {
+  int arg_0;
+};
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  SB_RW_atomic tint_symbol;
+} v;
+void atomicMin_8e38dc() {
+  int res = 0;
+  int x_9 = atomicMin(v.tint_symbol.arg_0, 1);
+  res = x_9;
+}
+void fragment_main_1() {
+  atomicMin_8e38dc();
+}
+void main() {
+  fragment_main_1();
+}
+#version 310 es
+
+
+struct SB_RW_atomic {
+  int arg_0;
+};
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  SB_RW_atomic tint_symbol;
+} v;
+void atomicMin_8e38dc() {
+  int res = 0;
+  int x_9 = atomicMin(v.tint_symbol.arg_0, 1);
+  res = x_9;
+}
+void compute_main_1() {
+  atomicMin_8e38dc();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  compute_main_1();
+}
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicMin/storage_u32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/literal/atomicMin/storage_u32.spvasm.expected.ir.glsl
index cce989d..30de071 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicMin/storage_u32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicMin/storage_u32.spvasm.expected.ir.glsl
@@ -1,11 +1,47 @@
-SKIP: FAILED
+#version 310 es
+precision highp float;
+precision highp int;
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicMin
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
 
-tint executable returned error: signal: trace/BPT trap
+struct SB_RW_atomic {
+  uint arg_0;
+};
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  SB_RW_atomic tint_symbol;
+} v;
+void atomicMin_c67a74() {
+  uint res = 0u;
+  uint x_9 = atomicMin(v.tint_symbol.arg_0, 1u);
+  res = x_9;
+}
+void fragment_main_1() {
+  atomicMin_c67a74();
+}
+void main() {
+  fragment_main_1();
+}
+#version 310 es
+
+
+struct SB_RW_atomic {
+  uint arg_0;
+};
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  SB_RW_atomic tint_symbol;
+} v;
+void atomicMin_c67a74() {
+  uint res = 0u;
+  uint x_9 = atomicMin(v.tint_symbol.arg_0, 1u);
+  res = x_9;
+}
+void compute_main_1() {
+  atomicMin_c67a74();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  compute_main_1();
+}
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicMin/workgroup_i32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/literal/atomicMin/workgroup_i32.spvasm.expected.ir.glsl
index cce989d..e41f8e4 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicMin/workgroup_i32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicMin/workgroup_i32.spvasm.expected.ir.glsl
@@ -1,11 +1,30 @@
-SKIP: FAILED
+#version 310 es
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicMin
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
-
-tint executable returned error: signal: trace/BPT trap
+uint local_invocation_index_1 = 0u;
+shared int arg_0;
+void atomicMin_278235() {
+  int res = 0;
+  int x_11 = atomicMin(arg_0, 1);
+  res = x_11;
+}
+void compute_main_inner(uint local_invocation_index_2) {
+  atomicExchange(arg_0, 0);
+  barrier();
+  atomicMin_278235();
+}
+void compute_main_1() {
+  uint x_31 = local_invocation_index_1;
+  compute_main_inner(x_31);
+}
+void compute_main_inner_1(uint local_invocation_index_1_param) {
+  if ((local_invocation_index_1_param == 0u)) {
+    atomicExchange(arg_0, 0);
+  }
+  barrier();
+  local_invocation_index_1 = local_invocation_index_1_param;
+  compute_main_1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  compute_main_inner_1(gl_LocalInvocationIndex);
+}
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicMin/workgroup_u32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/literal/atomicMin/workgroup_u32.spvasm.expected.ir.glsl
index cce989d..51fe0d4 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicMin/workgroup_u32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicMin/workgroup_u32.spvasm.expected.ir.glsl
@@ -1,11 +1,30 @@
-SKIP: FAILED
+#version 310 es
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicMin
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
-
-tint executable returned error: signal: trace/BPT trap
+uint local_invocation_index_1 = 0u;
+shared uint arg_0;
+void atomicMin_69d383() {
+  uint res = 0u;
+  uint x_10 = atomicMin(arg_0, 1u);
+  res = x_10;
+}
+void compute_main_inner(uint local_invocation_index_2) {
+  atomicExchange(arg_0, 0u);
+  barrier();
+  atomicMin_69d383();
+}
+void compute_main_1() {
+  uint x_30 = local_invocation_index_1;
+  compute_main_inner(x_30);
+}
+void compute_main_inner_1(uint local_invocation_index_1_param) {
+  if ((local_invocation_index_1_param == 0u)) {
+    atomicExchange(arg_0, 0u);
+  }
+  barrier();
+  local_invocation_index_1 = local_invocation_index_1_param;
+  compute_main_1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  compute_main_inner_1(gl_LocalInvocationIndex);
+}
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicOr/storage_i32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/literal/atomicOr/storage_i32.spvasm.expected.ir.glsl
index 80f3100..5db4826 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicOr/storage_i32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicOr/storage_i32.spvasm.expected.ir.glsl
@@ -1,11 +1,47 @@
-SKIP: FAILED
+#version 310 es
+precision highp float;
+precision highp int;
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicOr
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
 
-tint executable returned error: signal: trace/BPT trap
+struct SB_RW_atomic {
+  int arg_0;
+};
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  SB_RW_atomic tint_symbol;
+} v;
+void atomicOr_8d96a0() {
+  int res = 0;
+  int x_9 = atomicOr(v.tint_symbol.arg_0, 1);
+  res = x_9;
+}
+void fragment_main_1() {
+  atomicOr_8d96a0();
+}
+void main() {
+  fragment_main_1();
+}
+#version 310 es
+
+
+struct SB_RW_atomic {
+  int arg_0;
+};
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  SB_RW_atomic tint_symbol;
+} v;
+void atomicOr_8d96a0() {
+  int res = 0;
+  int x_9 = atomicOr(v.tint_symbol.arg_0, 1);
+  res = x_9;
+}
+void compute_main_1() {
+  atomicOr_8d96a0();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  compute_main_1();
+}
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicOr/storage_u32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/literal/atomicOr/storage_u32.spvasm.expected.ir.glsl
index 80f3100..1629aab 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicOr/storage_u32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicOr/storage_u32.spvasm.expected.ir.glsl
@@ -1,11 +1,47 @@
-SKIP: FAILED
+#version 310 es
+precision highp float;
+precision highp int;
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicOr
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
 
-tint executable returned error: signal: trace/BPT trap
+struct SB_RW_atomic {
+  uint arg_0;
+};
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  SB_RW_atomic tint_symbol;
+} v;
+void atomicOr_5e95d4() {
+  uint res = 0u;
+  uint x_9 = atomicOr(v.tint_symbol.arg_0, 1u);
+  res = x_9;
+}
+void fragment_main_1() {
+  atomicOr_5e95d4();
+}
+void main() {
+  fragment_main_1();
+}
+#version 310 es
+
+
+struct SB_RW_atomic {
+  uint arg_0;
+};
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  SB_RW_atomic tint_symbol;
+} v;
+void atomicOr_5e95d4() {
+  uint res = 0u;
+  uint x_9 = atomicOr(v.tint_symbol.arg_0, 1u);
+  res = x_9;
+}
+void compute_main_1() {
+  atomicOr_5e95d4();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  compute_main_1();
+}
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicOr/workgroup_i32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/literal/atomicOr/workgroup_i32.spvasm.expected.ir.glsl
index 80f3100..9820d69 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicOr/workgroup_i32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicOr/workgroup_i32.spvasm.expected.ir.glsl
@@ -1,11 +1,30 @@
-SKIP: FAILED
+#version 310 es
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicOr
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
-
-tint executable returned error: signal: trace/BPT trap
+uint local_invocation_index_1 = 0u;
+shared int arg_0;
+void atomicOr_d09248() {
+  int res = 0;
+  int x_11 = atomicOr(arg_0, 1);
+  res = x_11;
+}
+void compute_main_inner(uint local_invocation_index_2) {
+  atomicExchange(arg_0, 0);
+  barrier();
+  atomicOr_d09248();
+}
+void compute_main_1() {
+  uint x_31 = local_invocation_index_1;
+  compute_main_inner(x_31);
+}
+void compute_main_inner_1(uint local_invocation_index_1_param) {
+  if ((local_invocation_index_1_param == 0u)) {
+    atomicExchange(arg_0, 0);
+  }
+  barrier();
+  local_invocation_index_1 = local_invocation_index_1_param;
+  compute_main_1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  compute_main_inner_1(gl_LocalInvocationIndex);
+}
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicOr/workgroup_u32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/literal/atomicOr/workgroup_u32.spvasm.expected.ir.glsl
index 80f3100..fb68d7c 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicOr/workgroup_u32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicOr/workgroup_u32.spvasm.expected.ir.glsl
@@ -1,11 +1,30 @@
-SKIP: FAILED
+#version 310 es
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicOr
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
-
-tint executable returned error: signal: trace/BPT trap
+uint local_invocation_index_1 = 0u;
+shared uint arg_0;
+void atomicOr_5e3d61() {
+  uint res = 0u;
+  uint x_10 = atomicOr(arg_0, 1u);
+  res = x_10;
+}
+void compute_main_inner(uint local_invocation_index_2) {
+  atomicExchange(arg_0, 0u);
+  barrier();
+  atomicOr_5e3d61();
+}
+void compute_main_1() {
+  uint x_30 = local_invocation_index_1;
+  compute_main_inner(x_30);
+}
+void compute_main_inner_1(uint local_invocation_index_1_param) {
+  if ((local_invocation_index_1_param == 0u)) {
+    atomicExchange(arg_0, 0u);
+  }
+  barrier();
+  local_invocation_index_1 = local_invocation_index_1_param;
+  compute_main_1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  compute_main_inner_1(gl_LocalInvocationIndex);
+}
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicStore/storage_i32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/literal/atomicStore/storage_i32.spvasm.expected.ir.glsl
index 7292d5c..6e0a4d7 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicStore/storage_i32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicStore/storage_i32.spvasm.expected.ir.glsl
@@ -1,11 +1,43 @@
-SKIP: FAILED
+#version 310 es
+precision highp float;
+precision highp int;
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
 
-tint executable returned error: signal: trace/BPT trap
+struct SB_RW_atomic {
+  int arg_0;
+};
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  SB_RW_atomic tint_symbol;
+} v;
+void atomicStore_d1e9a6() {
+  atomicExchange(v.tint_symbol.arg_0, 1);
+}
+void fragment_main_1() {
+  atomicStore_d1e9a6();
+}
+void main() {
+  fragment_main_1();
+}
+#version 310 es
+
+
+struct SB_RW_atomic {
+  int arg_0;
+};
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  SB_RW_atomic tint_symbol;
+} v;
+void atomicStore_d1e9a6() {
+  atomicExchange(v.tint_symbol.arg_0, 1);
+}
+void compute_main_1() {
+  atomicStore_d1e9a6();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  compute_main_1();
+}
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicStore/storage_u32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/literal/atomicStore/storage_u32.spvasm.expected.ir.glsl
index 7292d5c..f847777 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicStore/storage_u32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicStore/storage_u32.spvasm.expected.ir.glsl
@@ -1,11 +1,43 @@
-SKIP: FAILED
+#version 310 es
+precision highp float;
+precision highp int;
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
 
-tint executable returned error: signal: trace/BPT trap
+struct SB_RW_atomic {
+  uint arg_0;
+};
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  SB_RW_atomic tint_symbol;
+} v;
+void atomicStore_cdc29e() {
+  atomicExchange(v.tint_symbol.arg_0, 1u);
+}
+void fragment_main_1() {
+  atomicStore_cdc29e();
+}
+void main() {
+  fragment_main_1();
+}
+#version 310 es
+
+
+struct SB_RW_atomic {
+  uint arg_0;
+};
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  SB_RW_atomic tint_symbol;
+} v;
+void atomicStore_cdc29e() {
+  atomicExchange(v.tint_symbol.arg_0, 1u);
+}
+void compute_main_1() {
+  atomicStore_cdc29e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  compute_main_1();
+}
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicStore/workgroup_i32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/literal/atomicStore/workgroup_i32.spvasm.expected.ir.glsl
index 7292d5c..4b08b9f 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicStore/workgroup_i32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicStore/workgroup_i32.spvasm.expected.ir.glsl
@@ -1,11 +1,28 @@
-SKIP: FAILED
+#version 310 es
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
-
-tint executable returned error: signal: trace/BPT trap
+uint local_invocation_index_1 = 0u;
+shared int arg_0;
+void atomicStore_8bea94() {
+  atomicExchange(arg_0, 1);
+}
+void compute_main_inner(uint local_invocation_index_2) {
+  atomicExchange(arg_0, 0);
+  barrier();
+  atomicStore_8bea94();
+}
+void compute_main_1() {
+  uint x_29 = local_invocation_index_1;
+  compute_main_inner(x_29);
+}
+void compute_main_inner_1(uint local_invocation_index_1_param) {
+  if ((local_invocation_index_1_param == 0u)) {
+    atomicExchange(arg_0, 0);
+  }
+  barrier();
+  local_invocation_index_1 = local_invocation_index_1_param;
+  compute_main_1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  compute_main_inner_1(gl_LocalInvocationIndex);
+}
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicStore/workgroup_u32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/literal/atomicStore/workgroup_u32.spvasm.expected.ir.glsl
index 7292d5c..1adb7aa 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicStore/workgroup_u32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicStore/workgroup_u32.spvasm.expected.ir.glsl
@@ -1,11 +1,28 @@
-SKIP: FAILED
+#version 310 es
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
-
-tint executable returned error: signal: trace/BPT trap
+uint local_invocation_index_1 = 0u;
+shared uint arg_0;
+void atomicStore_726882() {
+  atomicExchange(arg_0, 1u);
+}
+void compute_main_inner(uint local_invocation_index_2) {
+  atomicExchange(arg_0, 0u);
+  barrier();
+  atomicStore_726882();
+}
+void compute_main_1() {
+  uint x_28 = local_invocation_index_1;
+  compute_main_inner(x_28);
+}
+void compute_main_inner_1(uint local_invocation_index_1_param) {
+  if ((local_invocation_index_1_param == 0u)) {
+    atomicExchange(arg_0, 0u);
+  }
+  barrier();
+  local_invocation_index_1 = local_invocation_index_1_param;
+  compute_main_1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  compute_main_inner_1(gl_LocalInvocationIndex);
+}
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicXor/storage_i32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/literal/atomicXor/storage_i32.spvasm.expected.ir.glsl
index 452ca52..80ce4a7 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicXor/storage_i32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicXor/storage_i32.spvasm.expected.ir.glsl
@@ -1,11 +1,47 @@
-SKIP: FAILED
+#version 310 es
+precision highp float;
+precision highp int;
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicXor
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
 
-tint executable returned error: signal: trace/BPT trap
+struct SB_RW_atomic {
+  int arg_0;
+};
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  SB_RW_atomic tint_symbol;
+} v;
+void atomicXor_c1b78c() {
+  int res = 0;
+  int x_9 = atomicXor(v.tint_symbol.arg_0, 1);
+  res = x_9;
+}
+void fragment_main_1() {
+  atomicXor_c1b78c();
+}
+void main() {
+  fragment_main_1();
+}
+#version 310 es
+
+
+struct SB_RW_atomic {
+  int arg_0;
+};
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  SB_RW_atomic tint_symbol;
+} v;
+void atomicXor_c1b78c() {
+  int res = 0;
+  int x_9 = atomicXor(v.tint_symbol.arg_0, 1);
+  res = x_9;
+}
+void compute_main_1() {
+  atomicXor_c1b78c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  compute_main_1();
+}
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicXor/storage_u32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/literal/atomicXor/storage_u32.spvasm.expected.ir.glsl
index 452ca52..6173f01 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicXor/storage_u32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicXor/storage_u32.spvasm.expected.ir.glsl
@@ -1,11 +1,47 @@
-SKIP: FAILED
+#version 310 es
+precision highp float;
+precision highp int;
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicXor
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
 
-tint executable returned error: signal: trace/BPT trap
+struct SB_RW_atomic {
+  uint arg_0;
+};
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  SB_RW_atomic tint_symbol;
+} v;
+void atomicXor_54510e() {
+  uint res = 0u;
+  uint x_9 = atomicXor(v.tint_symbol.arg_0, 1u);
+  res = x_9;
+}
+void fragment_main_1() {
+  atomicXor_54510e();
+}
+void main() {
+  fragment_main_1();
+}
+#version 310 es
+
+
+struct SB_RW_atomic {
+  uint arg_0;
+};
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  SB_RW_atomic tint_symbol;
+} v;
+void atomicXor_54510e() {
+  uint res = 0u;
+  uint x_9 = atomicXor(v.tint_symbol.arg_0, 1u);
+  res = x_9;
+}
+void compute_main_1() {
+  atomicXor_54510e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  compute_main_1();
+}
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicXor/workgroup_i32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/literal/atomicXor/workgroup_i32.spvasm.expected.ir.glsl
index 452ca52..350367b 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicXor/workgroup_i32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicXor/workgroup_i32.spvasm.expected.ir.glsl
@@ -1,11 +1,30 @@
-SKIP: FAILED
+#version 310 es
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicXor
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
-
-tint executable returned error: signal: trace/BPT trap
+uint local_invocation_index_1 = 0u;
+shared int arg_0;
+void atomicXor_75dc95() {
+  int res = 0;
+  int x_11 = atomicXor(arg_0, 1);
+  res = x_11;
+}
+void compute_main_inner(uint local_invocation_index_2) {
+  atomicExchange(arg_0, 0);
+  barrier();
+  atomicXor_75dc95();
+}
+void compute_main_1() {
+  uint x_31 = local_invocation_index_1;
+  compute_main_inner(x_31);
+}
+void compute_main_inner_1(uint local_invocation_index_1_param) {
+  if ((local_invocation_index_1_param == 0u)) {
+    atomicExchange(arg_0, 0);
+  }
+  barrier();
+  local_invocation_index_1 = local_invocation_index_1_param;
+  compute_main_1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  compute_main_inner_1(gl_LocalInvocationIndex);
+}
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicXor/workgroup_u32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/literal/atomicXor/workgroup_u32.spvasm.expected.ir.glsl
index 452ca52..2fd26d9 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicXor/workgroup_u32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicXor/workgroup_u32.spvasm.expected.ir.glsl
@@ -1,11 +1,30 @@
-SKIP: FAILED
+#version 310 es
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicXor
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
-
-tint executable returned error: signal: trace/BPT trap
+uint local_invocation_index_1 = 0u;
+shared uint arg_0;
+void atomicXor_c8e6be() {
+  uint res = 0u;
+  uint x_10 = atomicXor(arg_0, 1u);
+  res = x_10;
+}
+void compute_main_inner(uint local_invocation_index_2) {
+  atomicExchange(arg_0, 0u);
+  barrier();
+  atomicXor_c8e6be();
+}
+void compute_main_1() {
+  uint x_30 = local_invocation_index_1;
+  compute_main_inner(x_30);
+}
+void compute_main_inner_1(uint local_invocation_index_1_param) {
+  if ((local_invocation_index_1_param == 0u)) {
+    atomicExchange(arg_0, 0u);
+  }
+  barrier();
+  local_invocation_index_1 = local_invocation_index_1_param;
+  compute_main_1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  compute_main_inner_1(gl_LocalInvocationIndex);
+}
diff --git a/test/tint/builtins/atomics/from_gen/literal/spvAtomicIncrement/storage_i32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/literal/spvAtomicIncrement/storage_i32.spvasm.expected.ir.glsl
index 495510c..f080a4b 100644
--- a/test/tint/builtins/atomics/from_gen/literal/spvAtomicIncrement/storage_i32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/literal/spvAtomicIncrement/storage_i32.spvasm.expected.ir.glsl
@@ -1,11 +1,47 @@
-SKIP: FAILED
+#version 310 es
+precision highp float;
+precision highp int;
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicAdd
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
 
-tint executable returned error: signal: trace/BPT trap
+struct SB_RW_atomic {
+  int arg_0;
+};
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  SB_RW_atomic tint_symbol;
+} v;
+void atomicAdd_d32fe4() {
+  int res = 0;
+  int x_9 = atomicAdd(v.tint_symbol.arg_0, 1);
+  res = x_9;
+}
+void fragment_main_1() {
+  atomicAdd_d32fe4();
+}
+void main() {
+  fragment_main_1();
+}
+#version 310 es
+
+
+struct SB_RW_atomic {
+  int arg_0;
+};
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  SB_RW_atomic tint_symbol;
+} v;
+void atomicAdd_d32fe4() {
+  int res = 0;
+  int x_9 = atomicAdd(v.tint_symbol.arg_0, 1);
+  res = x_9;
+}
+void compute_main_1() {
+  atomicAdd_d32fe4();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  compute_main_1();
+}
diff --git a/test/tint/builtins/atomics/from_gen/literal/spvAtomicIncrement/storage_u32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/literal/spvAtomicIncrement/storage_u32.spvasm.expected.ir.glsl
index 495510c..aa0a653 100644
--- a/test/tint/builtins/atomics/from_gen/literal/spvAtomicIncrement/storage_u32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/literal/spvAtomicIncrement/storage_u32.spvasm.expected.ir.glsl
@@ -1,11 +1,47 @@
-SKIP: FAILED
+#version 310 es
+precision highp float;
+precision highp int;
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicAdd
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
 
-tint executable returned error: signal: trace/BPT trap
+struct SB_RW_atomic {
+  uint arg_0;
+};
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  SB_RW_atomic tint_symbol;
+} v;
+void atomicAdd_8a199a() {
+  uint res = 0u;
+  uint x_9 = atomicAdd(v.tint_symbol.arg_0, 1u);
+  res = x_9;
+}
+void fragment_main_1() {
+  atomicAdd_8a199a();
+}
+void main() {
+  fragment_main_1();
+}
+#version 310 es
+
+
+struct SB_RW_atomic {
+  uint arg_0;
+};
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  SB_RW_atomic tint_symbol;
+} v;
+void atomicAdd_8a199a() {
+  uint res = 0u;
+  uint x_9 = atomicAdd(v.tint_symbol.arg_0, 1u);
+  res = x_9;
+}
+void compute_main_1() {
+  atomicAdd_8a199a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  compute_main_1();
+}
diff --git a/test/tint/builtins/atomics/from_gen/literal/spvAtomicIncrement/workgroup_i32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/literal/spvAtomicIncrement/workgroup_i32.spvasm.expected.ir.glsl
index 495510c..6ddceae 100644
--- a/test/tint/builtins/atomics/from_gen/literal/spvAtomicIncrement/workgroup_i32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/literal/spvAtomicIncrement/workgroup_i32.spvasm.expected.ir.glsl
@@ -1,11 +1,30 @@
-SKIP: FAILED
+#version 310 es
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicAdd
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
-
-tint executable returned error: signal: trace/BPT trap
+uint local_invocation_index_1 = 0u;
+shared int arg_0;
+void atomicAdd_794055() {
+  int res = 0;
+  int x_11 = atomicAdd(arg_0, 1);
+  res = x_11;
+}
+void compute_main_inner(uint local_invocation_index_2) {
+  atomicExchange(arg_0, 0);
+  barrier();
+  atomicAdd_794055();
+}
+void compute_main_1() {
+  uint x_31 = local_invocation_index_1;
+  compute_main_inner(x_31);
+}
+void compute_main_inner_1(uint local_invocation_index_1_param) {
+  if ((local_invocation_index_1_param == 0u)) {
+    atomicExchange(arg_0, 0);
+  }
+  barrier();
+  local_invocation_index_1 = local_invocation_index_1_param;
+  compute_main_1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  compute_main_inner_1(gl_LocalInvocationIndex);
+}
diff --git a/test/tint/builtins/atomics/from_gen/literal/spvAtomicIncrement/workgroup_u32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/literal/spvAtomicIncrement/workgroup_u32.spvasm.expected.ir.glsl
index 495510c..88eba6a 100644
--- a/test/tint/builtins/atomics/from_gen/literal/spvAtomicIncrement/workgroup_u32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/literal/spvAtomicIncrement/workgroup_u32.spvasm.expected.ir.glsl
@@ -1,11 +1,30 @@
-SKIP: FAILED
+#version 310 es
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicAdd
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
-
-tint executable returned error: signal: trace/BPT trap
+uint local_invocation_index_1 = 0u;
+shared uint arg_0;
+void atomicAdd_d5db1d() {
+  uint res = 0u;
+  uint x_10 = atomicAdd(arg_0, 1u);
+  res = x_10;
+}
+void compute_main_inner(uint local_invocation_index_2) {
+  atomicExchange(arg_0, 0u);
+  barrier();
+  atomicAdd_d5db1d();
+}
+void compute_main_1() {
+  uint x_30 = local_invocation_index_1;
+  compute_main_inner(x_30);
+}
+void compute_main_inner_1(uint local_invocation_index_1_param) {
+  if ((local_invocation_index_1_param == 0u)) {
+    atomicExchange(arg_0, 0u);
+  }
+  barrier();
+  local_invocation_index_1 = local_invocation_index_1_param;
+  compute_main_1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  compute_main_inner_1(gl_LocalInvocationIndex);
+}
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicAdd/storage_i32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/var/atomicAdd/storage_i32.spvasm.expected.ir.glsl
index 495510c..8b4ceac 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicAdd/storage_i32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicAdd/storage_i32.spvasm.expected.ir.glsl
@@ -1,11 +1,53 @@
-SKIP: FAILED
+#version 310 es
+precision highp float;
+precision highp int;
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicAdd
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
 
-tint executable returned error: signal: trace/BPT trap
+struct SB_RW_atomic {
+  int arg_0;
+};
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  SB_RW_atomic tint_symbol;
+} v;
+void atomicAdd_d32fe4() {
+  int arg_1 = 0;
+  int res = 0;
+  arg_1 = 1;
+  int x_20 = arg_1;
+  int x_13 = atomicAdd(v.tint_symbol.arg_0, x_20);
+  res = x_13;
+}
+void fragment_main_1() {
+  atomicAdd_d32fe4();
+}
+void main() {
+  fragment_main_1();
+}
+#version 310 es
+
+
+struct SB_RW_atomic {
+  int arg_0;
+};
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  SB_RW_atomic tint_symbol;
+} v;
+void atomicAdd_d32fe4() {
+  int arg_1 = 0;
+  int res = 0;
+  arg_1 = 1;
+  int x_20 = arg_1;
+  int x_13 = atomicAdd(v.tint_symbol.arg_0, x_20);
+  res = x_13;
+}
+void compute_main_1() {
+  atomicAdd_d32fe4();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  compute_main_1();
+}
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicAdd/storage_u32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/var/atomicAdd/storage_u32.spvasm.expected.ir.glsl
index 495510c..db3516c 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicAdd/storage_u32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicAdd/storage_u32.spvasm.expected.ir.glsl
@@ -1,11 +1,53 @@
-SKIP: FAILED
+#version 310 es
+precision highp float;
+precision highp int;
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicAdd
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
 
-tint executable returned error: signal: trace/BPT trap
+struct SB_RW_atomic {
+  uint arg_0;
+};
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  SB_RW_atomic tint_symbol;
+} v;
+void atomicAdd_8a199a() {
+  uint arg_1 = 0u;
+  uint res = 0u;
+  arg_1 = 1u;
+  uint x_18 = arg_1;
+  uint x_13 = atomicAdd(v.tint_symbol.arg_0, x_18);
+  res = x_13;
+}
+void fragment_main_1() {
+  atomicAdd_8a199a();
+}
+void main() {
+  fragment_main_1();
+}
+#version 310 es
+
+
+struct SB_RW_atomic {
+  uint arg_0;
+};
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  SB_RW_atomic tint_symbol;
+} v;
+void atomicAdd_8a199a() {
+  uint arg_1 = 0u;
+  uint res = 0u;
+  arg_1 = 1u;
+  uint x_18 = arg_1;
+  uint x_13 = atomicAdd(v.tint_symbol.arg_0, x_18);
+  res = x_13;
+}
+void compute_main_1() {
+  atomicAdd_8a199a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  compute_main_1();
+}
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicAdd/workgroup_i32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/var/atomicAdd/workgroup_i32.spvasm.expected.ir.glsl
index 495510c..53338a2 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicAdd/workgroup_i32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicAdd/workgroup_i32.spvasm.expected.ir.glsl
@@ -1,11 +1,33 @@
-SKIP: FAILED
+#version 310 es
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicAdd
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
-
-tint executable returned error: signal: trace/BPT trap
+uint local_invocation_index_1 = 0u;
+shared int arg_0;
+void atomicAdd_794055() {
+  int arg_1 = 0;
+  int res = 0;
+  arg_1 = 1;
+  int x_19 = arg_1;
+  int x_15 = atomicAdd(arg_0, x_19);
+  res = x_15;
+}
+void compute_main_inner(uint local_invocation_index_2) {
+  atomicExchange(arg_0, 0);
+  barrier();
+  atomicAdd_794055();
+}
+void compute_main_1() {
+  uint x_33 = local_invocation_index_1;
+  compute_main_inner(x_33);
+}
+void compute_main_inner_1(uint local_invocation_index_1_param) {
+  if ((local_invocation_index_1_param == 0u)) {
+    atomicExchange(arg_0, 0);
+  }
+  barrier();
+  local_invocation_index_1 = local_invocation_index_1_param;
+  compute_main_1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  compute_main_inner_1(gl_LocalInvocationIndex);
+}
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicAdd/workgroup_u32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/var/atomicAdd/workgroup_u32.spvasm.expected.ir.glsl
index 495510c..2b10c8d 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicAdd/workgroup_u32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicAdd/workgroup_u32.spvasm.expected.ir.glsl
@@ -1,11 +1,33 @@
-SKIP: FAILED
+#version 310 es
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicAdd
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
-
-tint executable returned error: signal: trace/BPT trap
+uint local_invocation_index_1 = 0u;
+shared uint arg_0;
+void atomicAdd_d5db1d() {
+  uint arg_1 = 0u;
+  uint res = 0u;
+  arg_1 = 1u;
+  uint x_18 = arg_1;
+  uint x_14 = atomicAdd(arg_0, x_18);
+  res = x_14;
+}
+void compute_main_inner(uint local_invocation_index_2) {
+  atomicExchange(arg_0, 0u);
+  barrier();
+  atomicAdd_d5db1d();
+}
+void compute_main_1() {
+  uint x_32 = local_invocation_index_1;
+  compute_main_inner(x_32);
+}
+void compute_main_inner_1(uint local_invocation_index_1_param) {
+  if ((local_invocation_index_1_param == 0u)) {
+    atomicExchange(arg_0, 0u);
+  }
+  barrier();
+  local_invocation_index_1 = local_invocation_index_1_param;
+  compute_main_1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  compute_main_inner_1(gl_LocalInvocationIndex);
+}
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicAnd/storage_i32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/var/atomicAnd/storage_i32.spvasm.expected.ir.glsl
index 0ecc6ec..c6c1c8e 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicAnd/storage_i32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicAnd/storage_i32.spvasm.expected.ir.glsl
@@ -1,11 +1,53 @@
-SKIP: FAILED
+#version 310 es
+precision highp float;
+precision highp int;
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicAnd
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
 
-tint executable returned error: signal: trace/BPT trap
+struct SB_RW_atomic {
+  int arg_0;
+};
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  SB_RW_atomic tint_symbol;
+} v;
+void atomicAnd_152966() {
+  int arg_1 = 0;
+  int res = 0;
+  arg_1 = 1;
+  int x_20 = arg_1;
+  int x_13 = atomicAnd(v.tint_symbol.arg_0, x_20);
+  res = x_13;
+}
+void fragment_main_1() {
+  atomicAnd_152966();
+}
+void main() {
+  fragment_main_1();
+}
+#version 310 es
+
+
+struct SB_RW_atomic {
+  int arg_0;
+};
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  SB_RW_atomic tint_symbol;
+} v;
+void atomicAnd_152966() {
+  int arg_1 = 0;
+  int res = 0;
+  arg_1 = 1;
+  int x_20 = arg_1;
+  int x_13 = atomicAnd(v.tint_symbol.arg_0, x_20);
+  res = x_13;
+}
+void compute_main_1() {
+  atomicAnd_152966();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  compute_main_1();
+}
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicAnd/storage_u32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/var/atomicAnd/storage_u32.spvasm.expected.ir.glsl
index 0ecc6ec..d972d75 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicAnd/storage_u32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicAnd/storage_u32.spvasm.expected.ir.glsl
@@ -1,11 +1,53 @@
-SKIP: FAILED
+#version 310 es
+precision highp float;
+precision highp int;
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicAnd
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
 
-tint executable returned error: signal: trace/BPT trap
+struct SB_RW_atomic {
+  uint arg_0;
+};
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  SB_RW_atomic tint_symbol;
+} v;
+void atomicAnd_85a8d9() {
+  uint arg_1 = 0u;
+  uint res = 0u;
+  arg_1 = 1u;
+  uint x_18 = arg_1;
+  uint x_13 = atomicAnd(v.tint_symbol.arg_0, x_18);
+  res = x_13;
+}
+void fragment_main_1() {
+  atomicAnd_85a8d9();
+}
+void main() {
+  fragment_main_1();
+}
+#version 310 es
+
+
+struct SB_RW_atomic {
+  uint arg_0;
+};
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  SB_RW_atomic tint_symbol;
+} v;
+void atomicAnd_85a8d9() {
+  uint arg_1 = 0u;
+  uint res = 0u;
+  arg_1 = 1u;
+  uint x_18 = arg_1;
+  uint x_13 = atomicAnd(v.tint_symbol.arg_0, x_18);
+  res = x_13;
+}
+void compute_main_1() {
+  atomicAnd_85a8d9();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  compute_main_1();
+}
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicAnd/workgroup_i32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/var/atomicAnd/workgroup_i32.spvasm.expected.ir.glsl
index 0ecc6ec..aa37b41 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicAnd/workgroup_i32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicAnd/workgroup_i32.spvasm.expected.ir.glsl
@@ -1,11 +1,33 @@
-SKIP: FAILED
+#version 310 es
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicAnd
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
-
-tint executable returned error: signal: trace/BPT trap
+uint local_invocation_index_1 = 0u;
+shared int arg_0;
+void atomicAnd_45a819() {
+  int arg_1 = 0;
+  int res = 0;
+  arg_1 = 1;
+  int x_19 = arg_1;
+  int x_15 = atomicAnd(arg_0, x_19);
+  res = x_15;
+}
+void compute_main_inner(uint local_invocation_index_2) {
+  atomicExchange(arg_0, 0);
+  barrier();
+  atomicAnd_45a819();
+}
+void compute_main_1() {
+  uint x_33 = local_invocation_index_1;
+  compute_main_inner(x_33);
+}
+void compute_main_inner_1(uint local_invocation_index_1_param) {
+  if ((local_invocation_index_1_param == 0u)) {
+    atomicExchange(arg_0, 0);
+  }
+  barrier();
+  local_invocation_index_1 = local_invocation_index_1_param;
+  compute_main_1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  compute_main_inner_1(gl_LocalInvocationIndex);
+}
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicAnd/workgroup_u32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/var/atomicAnd/workgroup_u32.spvasm.expected.ir.glsl
index 0ecc6ec..7fb63db 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicAnd/workgroup_u32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicAnd/workgroup_u32.spvasm.expected.ir.glsl
@@ -1,11 +1,33 @@
-SKIP: FAILED
+#version 310 es
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicAnd
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
-
-tint executable returned error: signal: trace/BPT trap
+uint local_invocation_index_1 = 0u;
+shared uint arg_0;
+void atomicAnd_34edd3() {
+  uint arg_1 = 0u;
+  uint res = 0u;
+  arg_1 = 1u;
+  uint x_18 = arg_1;
+  uint x_14 = atomicAnd(arg_0, x_18);
+  res = x_14;
+}
+void compute_main_inner(uint local_invocation_index_2) {
+  atomicExchange(arg_0, 0u);
+  barrier();
+  atomicAnd_34edd3();
+}
+void compute_main_1() {
+  uint x_32 = local_invocation_index_1;
+  compute_main_inner(x_32);
+}
+void compute_main_inner_1(uint local_invocation_index_1_param) {
+  if ((local_invocation_index_1_param == 0u)) {
+    atomicExchange(arg_0, 0u);
+  }
+  barrier();
+  local_invocation_index_1 = local_invocation_index_1_param;
+  compute_main_1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  compute_main_inner_1(gl_LocalInvocationIndex);
+}
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicExchange/storage_i32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/var/atomicExchange/storage_i32.spvasm.expected.ir.glsl
index 5fe4435..d0d77de 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicExchange/storage_i32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicExchange/storage_i32.spvasm.expected.ir.glsl
@@ -1,11 +1,53 @@
-SKIP: FAILED
+#version 310 es
+precision highp float;
+precision highp int;
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicExchange
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
 
-tint executable returned error: signal: trace/BPT trap
+struct SB_RW_atomic {
+  int arg_0;
+};
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  SB_RW_atomic tint_symbol;
+} v;
+void atomicExchange_f2e22f() {
+  int arg_1 = 0;
+  int res = 0;
+  arg_1 = 1;
+  int x_20 = arg_1;
+  int x_13 = atomicExchange(v.tint_symbol.arg_0, x_20);
+  res = x_13;
+}
+void fragment_main_1() {
+  atomicExchange_f2e22f();
+}
+void main() {
+  fragment_main_1();
+}
+#version 310 es
+
+
+struct SB_RW_atomic {
+  int arg_0;
+};
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  SB_RW_atomic tint_symbol;
+} v;
+void atomicExchange_f2e22f() {
+  int arg_1 = 0;
+  int res = 0;
+  arg_1 = 1;
+  int x_20 = arg_1;
+  int x_13 = atomicExchange(v.tint_symbol.arg_0, x_20);
+  res = x_13;
+}
+void compute_main_1() {
+  atomicExchange_f2e22f();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  compute_main_1();
+}
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicExchange/storage_u32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/var/atomicExchange/storage_u32.spvasm.expected.ir.glsl
index 5fe4435..1de2b19c 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicExchange/storage_u32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicExchange/storage_u32.spvasm.expected.ir.glsl
@@ -1,11 +1,53 @@
-SKIP: FAILED
+#version 310 es
+precision highp float;
+precision highp int;
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicExchange
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
 
-tint executable returned error: signal: trace/BPT trap
+struct SB_RW_atomic {
+  uint arg_0;
+};
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  SB_RW_atomic tint_symbol;
+} v;
+void atomicExchange_d59712() {
+  uint arg_1 = 0u;
+  uint res = 0u;
+  arg_1 = 1u;
+  uint x_18 = arg_1;
+  uint x_13 = atomicExchange(v.tint_symbol.arg_0, x_18);
+  res = x_13;
+}
+void fragment_main_1() {
+  atomicExchange_d59712();
+}
+void main() {
+  fragment_main_1();
+}
+#version 310 es
+
+
+struct SB_RW_atomic {
+  uint arg_0;
+};
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  SB_RW_atomic tint_symbol;
+} v;
+void atomicExchange_d59712() {
+  uint arg_1 = 0u;
+  uint res = 0u;
+  arg_1 = 1u;
+  uint x_18 = arg_1;
+  uint x_13 = atomicExchange(v.tint_symbol.arg_0, x_18);
+  res = x_13;
+}
+void compute_main_1() {
+  atomicExchange_d59712();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  compute_main_1();
+}
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicExchange/workgroup_i32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/var/atomicExchange/workgroup_i32.spvasm.expected.ir.glsl
index 5fe4435..03a04ee 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicExchange/workgroup_i32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicExchange/workgroup_i32.spvasm.expected.ir.glsl
@@ -1,11 +1,33 @@
-SKIP: FAILED
+#version 310 es
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicExchange
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
-
-tint executable returned error: signal: trace/BPT trap
+uint local_invocation_index_1 = 0u;
+shared int arg_0;
+void atomicExchange_e114ba() {
+  int arg_1 = 0;
+  int res = 0;
+  arg_1 = 1;
+  int x_19 = arg_1;
+  int x_15 = atomicExchange(arg_0, x_19);
+  res = x_15;
+}
+void compute_main_inner(uint local_invocation_index_2) {
+  atomicExchange(arg_0, 0);
+  barrier();
+  atomicExchange_e114ba();
+}
+void compute_main_1() {
+  uint x_33 = local_invocation_index_1;
+  compute_main_inner(x_33);
+}
+void compute_main_inner_1(uint local_invocation_index_1_param) {
+  if ((local_invocation_index_1_param == 0u)) {
+    atomicExchange(arg_0, 0);
+  }
+  barrier();
+  local_invocation_index_1 = local_invocation_index_1_param;
+  compute_main_1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  compute_main_inner_1(gl_LocalInvocationIndex);
+}
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicExchange/workgroup_u32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/var/atomicExchange/workgroup_u32.spvasm.expected.ir.glsl
index 5fe4435..3b38e80 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicExchange/workgroup_u32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicExchange/workgroup_u32.spvasm.expected.ir.glsl
@@ -1,11 +1,33 @@
-SKIP: FAILED
+#version 310 es
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicExchange
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
-
-tint executable returned error: signal: trace/BPT trap
+uint local_invocation_index_1 = 0u;
+shared uint arg_0;
+void atomicExchange_0a5dca() {
+  uint arg_1 = 0u;
+  uint res = 0u;
+  arg_1 = 1u;
+  uint x_18 = arg_1;
+  uint x_14 = atomicExchange(arg_0, x_18);
+  res = x_14;
+}
+void compute_main_inner(uint local_invocation_index_2) {
+  atomicExchange(arg_0, 0u);
+  barrier();
+  atomicExchange_0a5dca();
+}
+void compute_main_1() {
+  uint x_32 = local_invocation_index_1;
+  compute_main_inner(x_32);
+}
+void compute_main_inner_1(uint local_invocation_index_1_param) {
+  if ((local_invocation_index_1_param == 0u)) {
+    atomicExchange(arg_0, 0u);
+  }
+  barrier();
+  local_invocation_index_1 = local_invocation_index_1_param;
+  compute_main_1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  compute_main_inner_1(gl_LocalInvocationIndex);
+}
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicMax/storage_i32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/var/atomicMax/storage_i32.spvasm.expected.ir.glsl
index b6d6816..ac89941 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicMax/storage_i32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicMax/storage_i32.spvasm.expected.ir.glsl
@@ -1,11 +1,53 @@
-SKIP: FAILED
+#version 310 es
+precision highp float;
+precision highp int;
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicMax
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
 
-tint executable returned error: signal: trace/BPT trap
+struct SB_RW_atomic {
+  int arg_0;
+};
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  SB_RW_atomic tint_symbol;
+} v;
+void atomicMax_92aa72() {
+  int arg_1 = 0;
+  int res = 0;
+  arg_1 = 1;
+  int x_20 = arg_1;
+  int x_13 = atomicMax(v.tint_symbol.arg_0, x_20);
+  res = x_13;
+}
+void fragment_main_1() {
+  atomicMax_92aa72();
+}
+void main() {
+  fragment_main_1();
+}
+#version 310 es
+
+
+struct SB_RW_atomic {
+  int arg_0;
+};
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  SB_RW_atomic tint_symbol;
+} v;
+void atomicMax_92aa72() {
+  int arg_1 = 0;
+  int res = 0;
+  arg_1 = 1;
+  int x_20 = arg_1;
+  int x_13 = atomicMax(v.tint_symbol.arg_0, x_20);
+  res = x_13;
+}
+void compute_main_1() {
+  atomicMax_92aa72();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  compute_main_1();
+}
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicMax/storage_u32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/var/atomicMax/storage_u32.spvasm.expected.ir.glsl
index b6d6816..367c8f8 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicMax/storage_u32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicMax/storage_u32.spvasm.expected.ir.glsl
@@ -1,11 +1,53 @@
-SKIP: FAILED
+#version 310 es
+precision highp float;
+precision highp int;
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicMax
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
 
-tint executable returned error: signal: trace/BPT trap
+struct SB_RW_atomic {
+  uint arg_0;
+};
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  SB_RW_atomic tint_symbol;
+} v;
+void atomicMax_51b9be() {
+  uint arg_1 = 0u;
+  uint res = 0u;
+  arg_1 = 1u;
+  uint x_18 = arg_1;
+  uint x_13 = atomicMax(v.tint_symbol.arg_0, x_18);
+  res = x_13;
+}
+void fragment_main_1() {
+  atomicMax_51b9be();
+}
+void main() {
+  fragment_main_1();
+}
+#version 310 es
+
+
+struct SB_RW_atomic {
+  uint arg_0;
+};
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  SB_RW_atomic tint_symbol;
+} v;
+void atomicMax_51b9be() {
+  uint arg_1 = 0u;
+  uint res = 0u;
+  arg_1 = 1u;
+  uint x_18 = arg_1;
+  uint x_13 = atomicMax(v.tint_symbol.arg_0, x_18);
+  res = x_13;
+}
+void compute_main_1() {
+  atomicMax_51b9be();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  compute_main_1();
+}
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicMax/workgroup_i32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/var/atomicMax/workgroup_i32.spvasm.expected.ir.glsl
index b6d6816..d57f1f9 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicMax/workgroup_i32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicMax/workgroup_i32.spvasm.expected.ir.glsl
@@ -1,11 +1,33 @@
-SKIP: FAILED
+#version 310 es
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicMax
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
-
-tint executable returned error: signal: trace/BPT trap
+uint local_invocation_index_1 = 0u;
+shared int arg_0;
+void atomicMax_a89cc3() {
+  int arg_1 = 0;
+  int res = 0;
+  arg_1 = 1;
+  int x_19 = arg_1;
+  int x_15 = atomicMax(arg_0, x_19);
+  res = x_15;
+}
+void compute_main_inner(uint local_invocation_index_2) {
+  atomicExchange(arg_0, 0);
+  barrier();
+  atomicMax_a89cc3();
+}
+void compute_main_1() {
+  uint x_33 = local_invocation_index_1;
+  compute_main_inner(x_33);
+}
+void compute_main_inner_1(uint local_invocation_index_1_param) {
+  if ((local_invocation_index_1_param == 0u)) {
+    atomicExchange(arg_0, 0);
+  }
+  barrier();
+  local_invocation_index_1 = local_invocation_index_1_param;
+  compute_main_1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  compute_main_inner_1(gl_LocalInvocationIndex);
+}
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicMax/workgroup_u32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/var/atomicMax/workgroup_u32.spvasm.expected.ir.glsl
index b6d6816..bdf9912 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicMax/workgroup_u32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicMax/workgroup_u32.spvasm.expected.ir.glsl
@@ -1,11 +1,33 @@
-SKIP: FAILED
+#version 310 es
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicMax
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
-
-tint executable returned error: signal: trace/BPT trap
+uint local_invocation_index_1 = 0u;
+shared uint arg_0;
+void atomicMax_beccfc() {
+  uint arg_1 = 0u;
+  uint res = 0u;
+  arg_1 = 1u;
+  uint x_18 = arg_1;
+  uint x_14 = atomicMax(arg_0, x_18);
+  res = x_14;
+}
+void compute_main_inner(uint local_invocation_index_2) {
+  atomicExchange(arg_0, 0u);
+  barrier();
+  atomicMax_beccfc();
+}
+void compute_main_1() {
+  uint x_32 = local_invocation_index_1;
+  compute_main_inner(x_32);
+}
+void compute_main_inner_1(uint local_invocation_index_1_param) {
+  if ((local_invocation_index_1_param == 0u)) {
+    atomicExchange(arg_0, 0u);
+  }
+  barrier();
+  local_invocation_index_1 = local_invocation_index_1_param;
+  compute_main_1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  compute_main_inner_1(gl_LocalInvocationIndex);
+}
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicMin/storage_i32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/var/atomicMin/storage_i32.spvasm.expected.ir.glsl
index cce989d..ce760f6 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicMin/storage_i32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicMin/storage_i32.spvasm.expected.ir.glsl
@@ -1,11 +1,53 @@
-SKIP: FAILED
+#version 310 es
+precision highp float;
+precision highp int;
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicMin
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
 
-tint executable returned error: signal: trace/BPT trap
+struct SB_RW_atomic {
+  int arg_0;
+};
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  SB_RW_atomic tint_symbol;
+} v;
+void atomicMin_8e38dc() {
+  int arg_1 = 0;
+  int res = 0;
+  arg_1 = 1;
+  int x_20 = arg_1;
+  int x_13 = atomicMin(v.tint_symbol.arg_0, x_20);
+  res = x_13;
+}
+void fragment_main_1() {
+  atomicMin_8e38dc();
+}
+void main() {
+  fragment_main_1();
+}
+#version 310 es
+
+
+struct SB_RW_atomic {
+  int arg_0;
+};
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  SB_RW_atomic tint_symbol;
+} v;
+void atomicMin_8e38dc() {
+  int arg_1 = 0;
+  int res = 0;
+  arg_1 = 1;
+  int x_20 = arg_1;
+  int x_13 = atomicMin(v.tint_symbol.arg_0, x_20);
+  res = x_13;
+}
+void compute_main_1() {
+  atomicMin_8e38dc();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  compute_main_1();
+}
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicMin/storage_u32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/var/atomicMin/storage_u32.spvasm.expected.ir.glsl
index cce989d..53eb530 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicMin/storage_u32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicMin/storage_u32.spvasm.expected.ir.glsl
@@ -1,11 +1,53 @@
-SKIP: FAILED
+#version 310 es
+precision highp float;
+precision highp int;
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicMin
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
 
-tint executable returned error: signal: trace/BPT trap
+struct SB_RW_atomic {
+  uint arg_0;
+};
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  SB_RW_atomic tint_symbol;
+} v;
+void atomicMin_c67a74() {
+  uint arg_1 = 0u;
+  uint res = 0u;
+  arg_1 = 1u;
+  uint x_18 = arg_1;
+  uint x_13 = atomicMin(v.tint_symbol.arg_0, x_18);
+  res = x_13;
+}
+void fragment_main_1() {
+  atomicMin_c67a74();
+}
+void main() {
+  fragment_main_1();
+}
+#version 310 es
+
+
+struct SB_RW_atomic {
+  uint arg_0;
+};
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  SB_RW_atomic tint_symbol;
+} v;
+void atomicMin_c67a74() {
+  uint arg_1 = 0u;
+  uint res = 0u;
+  arg_1 = 1u;
+  uint x_18 = arg_1;
+  uint x_13 = atomicMin(v.tint_symbol.arg_0, x_18);
+  res = x_13;
+}
+void compute_main_1() {
+  atomicMin_c67a74();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  compute_main_1();
+}
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicMin/workgroup_i32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/var/atomicMin/workgroup_i32.spvasm.expected.ir.glsl
index cce989d..60b960a 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicMin/workgroup_i32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicMin/workgroup_i32.spvasm.expected.ir.glsl
@@ -1,11 +1,33 @@
-SKIP: FAILED
+#version 310 es
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicMin
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
-
-tint executable returned error: signal: trace/BPT trap
+uint local_invocation_index_1 = 0u;
+shared int arg_0;
+void atomicMin_278235() {
+  int arg_1 = 0;
+  int res = 0;
+  arg_1 = 1;
+  int x_19 = arg_1;
+  int x_15 = atomicMin(arg_0, x_19);
+  res = x_15;
+}
+void compute_main_inner(uint local_invocation_index_2) {
+  atomicExchange(arg_0, 0);
+  barrier();
+  atomicMin_278235();
+}
+void compute_main_1() {
+  uint x_33 = local_invocation_index_1;
+  compute_main_inner(x_33);
+}
+void compute_main_inner_1(uint local_invocation_index_1_param) {
+  if ((local_invocation_index_1_param == 0u)) {
+    atomicExchange(arg_0, 0);
+  }
+  barrier();
+  local_invocation_index_1 = local_invocation_index_1_param;
+  compute_main_1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  compute_main_inner_1(gl_LocalInvocationIndex);
+}
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicMin/workgroup_u32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/var/atomicMin/workgroup_u32.spvasm.expected.ir.glsl
index cce989d..3bfaa50 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicMin/workgroup_u32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicMin/workgroup_u32.spvasm.expected.ir.glsl
@@ -1,11 +1,33 @@
-SKIP: FAILED
+#version 310 es
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicMin
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
-
-tint executable returned error: signal: trace/BPT trap
+uint local_invocation_index_1 = 0u;
+shared uint arg_0;
+void atomicMin_69d383() {
+  uint arg_1 = 0u;
+  uint res = 0u;
+  arg_1 = 1u;
+  uint x_18 = arg_1;
+  uint x_14 = atomicMin(arg_0, x_18);
+  res = x_14;
+}
+void compute_main_inner(uint local_invocation_index_2) {
+  atomicExchange(arg_0, 0u);
+  barrier();
+  atomicMin_69d383();
+}
+void compute_main_1() {
+  uint x_32 = local_invocation_index_1;
+  compute_main_inner(x_32);
+}
+void compute_main_inner_1(uint local_invocation_index_1_param) {
+  if ((local_invocation_index_1_param == 0u)) {
+    atomicExchange(arg_0, 0u);
+  }
+  barrier();
+  local_invocation_index_1 = local_invocation_index_1_param;
+  compute_main_1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  compute_main_inner_1(gl_LocalInvocationIndex);
+}
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicOr/storage_i32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/var/atomicOr/storage_i32.spvasm.expected.ir.glsl
index 80f3100..e4ba9b0 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicOr/storage_i32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicOr/storage_i32.spvasm.expected.ir.glsl
@@ -1,11 +1,53 @@
-SKIP: FAILED
+#version 310 es
+precision highp float;
+precision highp int;
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicOr
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
 
-tint executable returned error: signal: trace/BPT trap
+struct SB_RW_atomic {
+  int arg_0;
+};
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  SB_RW_atomic tint_symbol;
+} v;
+void atomicOr_8d96a0() {
+  int arg_1 = 0;
+  int res = 0;
+  arg_1 = 1;
+  int x_20 = arg_1;
+  int x_13 = atomicOr(v.tint_symbol.arg_0, x_20);
+  res = x_13;
+}
+void fragment_main_1() {
+  atomicOr_8d96a0();
+}
+void main() {
+  fragment_main_1();
+}
+#version 310 es
+
+
+struct SB_RW_atomic {
+  int arg_0;
+};
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  SB_RW_atomic tint_symbol;
+} v;
+void atomicOr_8d96a0() {
+  int arg_1 = 0;
+  int res = 0;
+  arg_1 = 1;
+  int x_20 = arg_1;
+  int x_13 = atomicOr(v.tint_symbol.arg_0, x_20);
+  res = x_13;
+}
+void compute_main_1() {
+  atomicOr_8d96a0();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  compute_main_1();
+}
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicOr/storage_u32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/var/atomicOr/storage_u32.spvasm.expected.ir.glsl
index 80f3100..c7f49ba 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicOr/storage_u32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicOr/storage_u32.spvasm.expected.ir.glsl
@@ -1,11 +1,53 @@
-SKIP: FAILED
+#version 310 es
+precision highp float;
+precision highp int;
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicOr
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
 
-tint executable returned error: signal: trace/BPT trap
+struct SB_RW_atomic {
+  uint arg_0;
+};
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  SB_RW_atomic tint_symbol;
+} v;
+void atomicOr_5e95d4() {
+  uint arg_1 = 0u;
+  uint res = 0u;
+  arg_1 = 1u;
+  uint x_18 = arg_1;
+  uint x_13 = atomicOr(v.tint_symbol.arg_0, x_18);
+  res = x_13;
+}
+void fragment_main_1() {
+  atomicOr_5e95d4();
+}
+void main() {
+  fragment_main_1();
+}
+#version 310 es
+
+
+struct SB_RW_atomic {
+  uint arg_0;
+};
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  SB_RW_atomic tint_symbol;
+} v;
+void atomicOr_5e95d4() {
+  uint arg_1 = 0u;
+  uint res = 0u;
+  arg_1 = 1u;
+  uint x_18 = arg_1;
+  uint x_13 = atomicOr(v.tint_symbol.arg_0, x_18);
+  res = x_13;
+}
+void compute_main_1() {
+  atomicOr_5e95d4();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  compute_main_1();
+}
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicOr/workgroup_i32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/var/atomicOr/workgroup_i32.spvasm.expected.ir.glsl
index 80f3100..38e074b 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicOr/workgroup_i32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicOr/workgroup_i32.spvasm.expected.ir.glsl
@@ -1,11 +1,33 @@
-SKIP: FAILED
+#version 310 es
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicOr
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
-
-tint executable returned error: signal: trace/BPT trap
+uint local_invocation_index_1 = 0u;
+shared int arg_0;
+void atomicOr_d09248() {
+  int arg_1 = 0;
+  int res = 0;
+  arg_1 = 1;
+  int x_19 = arg_1;
+  int x_15 = atomicOr(arg_0, x_19);
+  res = x_15;
+}
+void compute_main_inner(uint local_invocation_index_2) {
+  atomicExchange(arg_0, 0);
+  barrier();
+  atomicOr_d09248();
+}
+void compute_main_1() {
+  uint x_33 = local_invocation_index_1;
+  compute_main_inner(x_33);
+}
+void compute_main_inner_1(uint local_invocation_index_1_param) {
+  if ((local_invocation_index_1_param == 0u)) {
+    atomicExchange(arg_0, 0);
+  }
+  barrier();
+  local_invocation_index_1 = local_invocation_index_1_param;
+  compute_main_1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  compute_main_inner_1(gl_LocalInvocationIndex);
+}
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicOr/workgroup_u32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/var/atomicOr/workgroup_u32.spvasm.expected.ir.glsl
index 80f3100..d38a71c 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicOr/workgroup_u32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicOr/workgroup_u32.spvasm.expected.ir.glsl
@@ -1,11 +1,33 @@
-SKIP: FAILED
+#version 310 es
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicOr
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
-
-tint executable returned error: signal: trace/BPT trap
+uint local_invocation_index_1 = 0u;
+shared uint arg_0;
+void atomicOr_5e3d61() {
+  uint arg_1 = 0u;
+  uint res = 0u;
+  arg_1 = 1u;
+  uint x_18 = arg_1;
+  uint x_14 = atomicOr(arg_0, x_18);
+  res = x_14;
+}
+void compute_main_inner(uint local_invocation_index_2) {
+  atomicExchange(arg_0, 0u);
+  barrier();
+  atomicOr_5e3d61();
+}
+void compute_main_1() {
+  uint x_32 = local_invocation_index_1;
+  compute_main_inner(x_32);
+}
+void compute_main_inner_1(uint local_invocation_index_1_param) {
+  if ((local_invocation_index_1_param == 0u)) {
+    atomicExchange(arg_0, 0u);
+  }
+  barrier();
+  local_invocation_index_1 = local_invocation_index_1_param;
+  compute_main_1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  compute_main_inner_1(gl_LocalInvocationIndex);
+}
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicStore/storage_i32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/var/atomicStore/storage_i32.spvasm.expected.ir.glsl
index 7292d5c..9735851 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicStore/storage_i32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicStore/storage_i32.spvasm.expected.ir.glsl
@@ -1,11 +1,49 @@
-SKIP: FAILED
+#version 310 es
+precision highp float;
+precision highp int;
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
 
-tint executable returned error: signal: trace/BPT trap
+struct SB_RW_atomic {
+  int arg_0;
+};
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  SB_RW_atomic tint_symbol;
+} v;
+void atomicStore_d1e9a6() {
+  int arg_1 = 0;
+  arg_1 = 1;
+  int x_20 = arg_1;
+  atomicExchange(v.tint_symbol.arg_0, x_20);
+}
+void fragment_main_1() {
+  atomicStore_d1e9a6();
+}
+void main() {
+  fragment_main_1();
+}
+#version 310 es
+
+
+struct SB_RW_atomic {
+  int arg_0;
+};
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  SB_RW_atomic tint_symbol;
+} v;
+void atomicStore_d1e9a6() {
+  int arg_1 = 0;
+  arg_1 = 1;
+  int x_20 = arg_1;
+  atomicExchange(v.tint_symbol.arg_0, x_20);
+}
+void compute_main_1() {
+  atomicStore_d1e9a6();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  compute_main_1();
+}
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicStore/storage_u32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/var/atomicStore/storage_u32.spvasm.expected.ir.glsl
index 7292d5c..166236c 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicStore/storage_u32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicStore/storage_u32.spvasm.expected.ir.glsl
@@ -1,11 +1,49 @@
-SKIP: FAILED
+#version 310 es
+precision highp float;
+precision highp int;
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
 
-tint executable returned error: signal: trace/BPT trap
+struct SB_RW_atomic {
+  uint arg_0;
+};
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  SB_RW_atomic tint_symbol;
+} v;
+void atomicStore_cdc29e() {
+  uint arg_1 = 0u;
+  arg_1 = 1u;
+  uint x_18 = arg_1;
+  atomicExchange(v.tint_symbol.arg_0, x_18);
+}
+void fragment_main_1() {
+  atomicStore_cdc29e();
+}
+void main() {
+  fragment_main_1();
+}
+#version 310 es
+
+
+struct SB_RW_atomic {
+  uint arg_0;
+};
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  SB_RW_atomic tint_symbol;
+} v;
+void atomicStore_cdc29e() {
+  uint arg_1 = 0u;
+  arg_1 = 1u;
+  uint x_18 = arg_1;
+  atomicExchange(v.tint_symbol.arg_0, x_18);
+}
+void compute_main_1() {
+  atomicStore_cdc29e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  compute_main_1();
+}
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicStore/workgroup_i32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/var/atomicStore/workgroup_i32.spvasm.expected.ir.glsl
index 7292d5c..093a5ac 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicStore/workgroup_i32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicStore/workgroup_i32.spvasm.expected.ir.glsl
@@ -1,11 +1,31 @@
-SKIP: FAILED
+#version 310 es
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
-
-tint executable returned error: signal: trace/BPT trap
+uint local_invocation_index_1 = 0u;
+shared int arg_0;
+void atomicStore_8bea94() {
+  int arg_1 = 0;
+  arg_1 = 1;
+  int x_19 = arg_1;
+  atomicExchange(arg_0, x_19);
+}
+void compute_main_inner(uint local_invocation_index_2) {
+  atomicExchange(arg_0, 0);
+  barrier();
+  atomicStore_8bea94();
+}
+void compute_main_1() {
+  uint x_32 = local_invocation_index_1;
+  compute_main_inner(x_32);
+}
+void compute_main_inner_1(uint local_invocation_index_1_param) {
+  if ((local_invocation_index_1_param == 0u)) {
+    atomicExchange(arg_0, 0);
+  }
+  barrier();
+  local_invocation_index_1 = local_invocation_index_1_param;
+  compute_main_1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  compute_main_inner_1(gl_LocalInvocationIndex);
+}
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicStore/workgroup_u32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/var/atomicStore/workgroup_u32.spvasm.expected.ir.glsl
index 7292d5c..a48dae3 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicStore/workgroup_u32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicStore/workgroup_u32.spvasm.expected.ir.glsl
@@ -1,11 +1,31 @@
-SKIP: FAILED
+#version 310 es
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
-
-tint executable returned error: signal: trace/BPT trap
+uint local_invocation_index_1 = 0u;
+shared uint arg_0;
+void atomicStore_726882() {
+  uint arg_1 = 0u;
+  arg_1 = 1u;
+  uint x_18 = arg_1;
+  atomicExchange(arg_0, x_18);
+}
+void compute_main_inner(uint local_invocation_index_2) {
+  atomicExchange(arg_0, 0u);
+  barrier();
+  atomicStore_726882();
+}
+void compute_main_1() {
+  uint x_31 = local_invocation_index_1;
+  compute_main_inner(x_31);
+}
+void compute_main_inner_1(uint local_invocation_index_1_param) {
+  if ((local_invocation_index_1_param == 0u)) {
+    atomicExchange(arg_0, 0u);
+  }
+  barrier();
+  local_invocation_index_1 = local_invocation_index_1_param;
+  compute_main_1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  compute_main_inner_1(gl_LocalInvocationIndex);
+}
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicXor/storage_i32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/var/atomicXor/storage_i32.spvasm.expected.ir.glsl
index 452ca52..9315f8a8 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicXor/storage_i32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicXor/storage_i32.spvasm.expected.ir.glsl
@@ -1,11 +1,53 @@
-SKIP: FAILED
+#version 310 es
+precision highp float;
+precision highp int;
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicXor
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
 
-tint executable returned error: signal: trace/BPT trap
+struct SB_RW_atomic {
+  int arg_0;
+};
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  SB_RW_atomic tint_symbol;
+} v;
+void atomicXor_c1b78c() {
+  int arg_1 = 0;
+  int res = 0;
+  arg_1 = 1;
+  int x_20 = arg_1;
+  int x_13 = atomicXor(v.tint_symbol.arg_0, x_20);
+  res = x_13;
+}
+void fragment_main_1() {
+  atomicXor_c1b78c();
+}
+void main() {
+  fragment_main_1();
+}
+#version 310 es
+
+
+struct SB_RW_atomic {
+  int arg_0;
+};
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  SB_RW_atomic tint_symbol;
+} v;
+void atomicXor_c1b78c() {
+  int arg_1 = 0;
+  int res = 0;
+  arg_1 = 1;
+  int x_20 = arg_1;
+  int x_13 = atomicXor(v.tint_symbol.arg_0, x_20);
+  res = x_13;
+}
+void compute_main_1() {
+  atomicXor_c1b78c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  compute_main_1();
+}
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicXor/storage_u32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/var/atomicXor/storage_u32.spvasm.expected.ir.glsl
index 452ca52..b6f1532 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicXor/storage_u32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicXor/storage_u32.spvasm.expected.ir.glsl
@@ -1,11 +1,53 @@
-SKIP: FAILED
+#version 310 es
+precision highp float;
+precision highp int;
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicXor
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
 
-tint executable returned error: signal: trace/BPT trap
+struct SB_RW_atomic {
+  uint arg_0;
+};
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  SB_RW_atomic tint_symbol;
+} v;
+void atomicXor_54510e() {
+  uint arg_1 = 0u;
+  uint res = 0u;
+  arg_1 = 1u;
+  uint x_18 = arg_1;
+  uint x_13 = atomicXor(v.tint_symbol.arg_0, x_18);
+  res = x_13;
+}
+void fragment_main_1() {
+  atomicXor_54510e();
+}
+void main() {
+  fragment_main_1();
+}
+#version 310 es
+
+
+struct SB_RW_atomic {
+  uint arg_0;
+};
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  SB_RW_atomic tint_symbol;
+} v;
+void atomicXor_54510e() {
+  uint arg_1 = 0u;
+  uint res = 0u;
+  arg_1 = 1u;
+  uint x_18 = arg_1;
+  uint x_13 = atomicXor(v.tint_symbol.arg_0, x_18);
+  res = x_13;
+}
+void compute_main_1() {
+  atomicXor_54510e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  compute_main_1();
+}
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicXor/workgroup_i32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/var/atomicXor/workgroup_i32.spvasm.expected.ir.glsl
index 452ca52..79c57f1 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicXor/workgroup_i32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicXor/workgroup_i32.spvasm.expected.ir.glsl
@@ -1,11 +1,33 @@
-SKIP: FAILED
+#version 310 es
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicXor
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
-
-tint executable returned error: signal: trace/BPT trap
+uint local_invocation_index_1 = 0u;
+shared int arg_0;
+void atomicXor_75dc95() {
+  int arg_1 = 0;
+  int res = 0;
+  arg_1 = 1;
+  int x_19 = arg_1;
+  int x_15 = atomicXor(arg_0, x_19);
+  res = x_15;
+}
+void compute_main_inner(uint local_invocation_index_2) {
+  atomicExchange(arg_0, 0);
+  barrier();
+  atomicXor_75dc95();
+}
+void compute_main_1() {
+  uint x_33 = local_invocation_index_1;
+  compute_main_inner(x_33);
+}
+void compute_main_inner_1(uint local_invocation_index_1_param) {
+  if ((local_invocation_index_1_param == 0u)) {
+    atomicExchange(arg_0, 0);
+  }
+  barrier();
+  local_invocation_index_1 = local_invocation_index_1_param;
+  compute_main_1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  compute_main_inner_1(gl_LocalInvocationIndex);
+}
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicXor/workgroup_u32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/var/atomicXor/workgroup_u32.spvasm.expected.ir.glsl
index 452ca52..fdebbdd 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicXor/workgroup_u32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicXor/workgroup_u32.spvasm.expected.ir.glsl
@@ -1,11 +1,33 @@
-SKIP: FAILED
+#version 310 es
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicXor
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
-
-tint executable returned error: signal: trace/BPT trap
+uint local_invocation_index_1 = 0u;
+shared uint arg_0;
+void atomicXor_c8e6be() {
+  uint arg_1 = 0u;
+  uint res = 0u;
+  arg_1 = 1u;
+  uint x_18 = arg_1;
+  uint x_14 = atomicXor(arg_0, x_18);
+  res = x_14;
+}
+void compute_main_inner(uint local_invocation_index_2) {
+  atomicExchange(arg_0, 0u);
+  barrier();
+  atomicXor_c8e6be();
+}
+void compute_main_1() {
+  uint x_32 = local_invocation_index_1;
+  compute_main_inner(x_32);
+}
+void compute_main_inner_1(uint local_invocation_index_1_param) {
+  if ((local_invocation_index_1_param == 0u)) {
+    atomicExchange(arg_0, 0u);
+  }
+  barrier();
+  local_invocation_index_1 = local_invocation_index_1_param;
+  compute_main_1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  compute_main_inner_1(gl_LocalInvocationIndex);
+}
diff --git a/test/tint/builtins/atomics/from_gen/var/spvAtomicIncrement/storage_i32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/var/spvAtomicIncrement/storage_i32.spvasm.expected.ir.glsl
index 495510c..5e72234 100644
--- a/test/tint/builtins/atomics/from_gen/var/spvAtomicIncrement/storage_i32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/var/spvAtomicIncrement/storage_i32.spvasm.expected.ir.glsl
@@ -1,11 +1,51 @@
-SKIP: FAILED
+#version 310 es
+precision highp float;
+precision highp int;
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicAdd
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
 
-tint executable returned error: signal: trace/BPT trap
+struct SB_RW_atomic {
+  int arg_0;
+};
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  SB_RW_atomic tint_symbol;
+} v;
+void atomicAdd_d32fe4() {
+  int arg_1 = 0;
+  int res = 0;
+  arg_1 = 1;
+  int x_13 = atomicAdd(v.tint_symbol.arg_0, 1);
+  res = x_13;
+}
+void fragment_main_1() {
+  atomicAdd_d32fe4();
+}
+void main() {
+  fragment_main_1();
+}
+#version 310 es
+
+
+struct SB_RW_atomic {
+  int arg_0;
+};
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  SB_RW_atomic tint_symbol;
+} v;
+void atomicAdd_d32fe4() {
+  int arg_1 = 0;
+  int res = 0;
+  arg_1 = 1;
+  int x_13 = atomicAdd(v.tint_symbol.arg_0, 1);
+  res = x_13;
+}
+void compute_main_1() {
+  atomicAdd_d32fe4();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  compute_main_1();
+}
diff --git a/test/tint/builtins/atomics/from_gen/var/spvAtomicIncrement/storage_u32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/var/spvAtomicIncrement/storage_u32.spvasm.expected.ir.glsl
index 495510c..b39ab87 100644
--- a/test/tint/builtins/atomics/from_gen/var/spvAtomicIncrement/storage_u32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/var/spvAtomicIncrement/storage_u32.spvasm.expected.ir.glsl
@@ -1,11 +1,51 @@
-SKIP: FAILED
+#version 310 es
+precision highp float;
+precision highp int;
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicAdd
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
 
-tint executable returned error: signal: trace/BPT trap
+struct SB_RW_atomic {
+  uint arg_0;
+};
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  SB_RW_atomic tint_symbol;
+} v;
+void atomicAdd_8a199a() {
+  uint arg_1 = 0u;
+  uint res = 0u;
+  arg_1 = 1u;
+  uint x_13 = atomicAdd(v.tint_symbol.arg_0, 1u);
+  res = x_13;
+}
+void fragment_main_1() {
+  atomicAdd_8a199a();
+}
+void main() {
+  fragment_main_1();
+}
+#version 310 es
+
+
+struct SB_RW_atomic {
+  uint arg_0;
+};
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  SB_RW_atomic tint_symbol;
+} v;
+void atomicAdd_8a199a() {
+  uint arg_1 = 0u;
+  uint res = 0u;
+  arg_1 = 1u;
+  uint x_13 = atomicAdd(v.tint_symbol.arg_0, 1u);
+  res = x_13;
+}
+void compute_main_1() {
+  atomicAdd_8a199a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  compute_main_1();
+}
diff --git a/test/tint/builtins/atomics/from_gen/var/spvAtomicIncrement/workgroup_i32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/var/spvAtomicIncrement/workgroup_i32.spvasm.expected.ir.glsl
index 495510c..69300dc 100644
--- a/test/tint/builtins/atomics/from_gen/var/spvAtomicIncrement/workgroup_i32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/var/spvAtomicIncrement/workgroup_i32.spvasm.expected.ir.glsl
@@ -1,11 +1,32 @@
-SKIP: FAILED
+#version 310 es
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicAdd
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
-
-tint executable returned error: signal: trace/BPT trap
+uint local_invocation_index_1 = 0u;
+shared int arg_0;
+void atomicAdd_794055() {
+  int arg_1 = 0;
+  int res = 0;
+  arg_1 = 1;
+  int x_15 = atomicAdd(arg_0, 1);
+  res = x_15;
+}
+void compute_main_inner(uint local_invocation_index_2) {
+  atomicExchange(arg_0, 0);
+  barrier();
+  atomicAdd_794055();
+}
+void compute_main_1() {
+  uint x_33 = local_invocation_index_1;
+  compute_main_inner(x_33);
+}
+void compute_main_inner_1(uint local_invocation_index_1_param) {
+  if ((local_invocation_index_1_param == 0u)) {
+    atomicExchange(arg_0, 0);
+  }
+  barrier();
+  local_invocation_index_1 = local_invocation_index_1_param;
+  compute_main_1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  compute_main_inner_1(gl_LocalInvocationIndex);
+}
diff --git a/test/tint/builtins/atomics/from_gen/var/spvAtomicIncrement/workgroup_u32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/var/spvAtomicIncrement/workgroup_u32.spvasm.expected.ir.glsl
index 495510c..d0d3e6a 100644
--- a/test/tint/builtins/atomics/from_gen/var/spvAtomicIncrement/workgroup_u32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/var/spvAtomicIncrement/workgroup_u32.spvasm.expected.ir.glsl
@@ -1,11 +1,32 @@
-SKIP: FAILED
+#version 310 es
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicAdd
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
-
-tint executable returned error: signal: trace/BPT trap
+uint local_invocation_index_1 = 0u;
+shared uint arg_0;
+void atomicAdd_d5db1d() {
+  uint arg_1 = 0u;
+  uint res = 0u;
+  arg_1 = 1u;
+  uint x_14 = atomicAdd(arg_0, 1u);
+  res = x_14;
+}
+void compute_main_inner(uint local_invocation_index_2) {
+  atomicExchange(arg_0, 0u);
+  barrier();
+  atomicAdd_d5db1d();
+}
+void compute_main_1() {
+  uint x_32 = local_invocation_index_1;
+  compute_main_inner(x_32);
+}
+void compute_main_inner_1(uint local_invocation_index_1_param) {
+  if ((local_invocation_index_1_param == 0u)) {
+    atomicExchange(arg_0, 0u);
+  }
+  barrier();
+  local_invocation_index_1 = local_invocation_index_1_param;
+  compute_main_1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  compute_main_inner_1(gl_LocalInvocationIndex);
+}
diff --git a/test/tint/builtins/gen/literal/atomicAdd/794055.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/atomicAdd/794055.wgsl.expected.ir.glsl
index 495510c..98ef3f3 100644
--- a/test/tint/builtins/gen/literal/atomicAdd/794055.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/atomicAdd/794055.wgsl.expected.ir.glsl
@@ -1,11 +1,22 @@
-SKIP: FAILED
+#version 310 es
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicAdd
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
-
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  int tint_symbol;
+} v;
+shared int arg_0;
+int atomicAdd_794055() {
+  int res = atomicAdd(arg_0, 1);
+  return res;
+}
+void compute_main_inner(uint tint_local_index) {
+  if ((tint_local_index == 0u)) {
+    atomicExchange(arg_0, 0);
+  }
+  barrier();
+  v.tint_symbol = atomicAdd_794055();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  compute_main_inner(gl_LocalInvocationIndex);
+}
diff --git a/test/tint/builtins/gen/literal/atomicAdd/8a199a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/atomicAdd/8a199a.wgsl.expected.ir.glsl
index 495510c..1482519 100644
--- a/test/tint/builtins/gen/literal/atomicAdd/8a199a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/atomicAdd/8a199a.wgsl.expected.ir.glsl
@@ -1,11 +1,47 @@
-SKIP: FAILED
+#version 310 es
+precision highp float;
+precision highp int;
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicAdd
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
 
-tint executable returned error: signal: trace/BPT trap
+struct SB_RW {
+  uint arg_0;
+};
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  uint tint_symbol;
+} v;
+layout(binding = 1, std430)
+buffer tint_symbol_3_1_ssbo {
+  SB_RW tint_symbol_2;
+} v_1;
+uint atomicAdd_8a199a() {
+  uint res = atomicAdd(v_1.tint_symbol_2.arg_0, 1u);
+  return res;
+}
+void main() {
+  v.tint_symbol = atomicAdd_8a199a();
+}
+#version 310 es
+
+
+struct SB_RW {
+  uint arg_0;
+};
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  uint tint_symbol;
+} v;
+layout(binding = 1, std430)
+buffer tint_symbol_3_1_ssbo {
+  SB_RW tint_symbol_2;
+} v_1;
+uint atomicAdd_8a199a() {
+  uint res = atomicAdd(v_1.tint_symbol_2.arg_0, 1u);
+  return res;
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  v.tint_symbol = atomicAdd_8a199a();
+}
diff --git a/test/tint/builtins/gen/literal/atomicAdd/d32fe4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/atomicAdd/d32fe4.wgsl.expected.ir.glsl
index 495510c..6641a33 100644
--- a/test/tint/builtins/gen/literal/atomicAdd/d32fe4.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/atomicAdd/d32fe4.wgsl.expected.ir.glsl
@@ -1,11 +1,47 @@
-SKIP: FAILED
+#version 310 es
+precision highp float;
+precision highp int;
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicAdd
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
 
-tint executable returned error: signal: trace/BPT trap
+struct SB_RW {
+  int arg_0;
+};
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  int tint_symbol;
+} v;
+layout(binding = 1, std430)
+buffer tint_symbol_3_1_ssbo {
+  SB_RW tint_symbol_2;
+} v_1;
+int atomicAdd_d32fe4() {
+  int res = atomicAdd(v_1.tint_symbol_2.arg_0, 1);
+  return res;
+}
+void main() {
+  v.tint_symbol = atomicAdd_d32fe4();
+}
+#version 310 es
+
+
+struct SB_RW {
+  int arg_0;
+};
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  int tint_symbol;
+} v;
+layout(binding = 1, std430)
+buffer tint_symbol_3_1_ssbo {
+  SB_RW tint_symbol_2;
+} v_1;
+int atomicAdd_d32fe4() {
+  int res = atomicAdd(v_1.tint_symbol_2.arg_0, 1);
+  return res;
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  v.tint_symbol = atomicAdd_d32fe4();
+}
diff --git a/test/tint/builtins/gen/literal/atomicAdd/d5db1d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/atomicAdd/d5db1d.wgsl.expected.ir.glsl
index 495510c..f509747 100644
--- a/test/tint/builtins/gen/literal/atomicAdd/d5db1d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/atomicAdd/d5db1d.wgsl.expected.ir.glsl
@@ -1,11 +1,22 @@
-SKIP: FAILED
+#version 310 es
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicAdd
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
-
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  uint tint_symbol;
+} v;
+shared uint arg_0;
+uint atomicAdd_d5db1d() {
+  uint res = atomicAdd(arg_0, 1u);
+  return res;
+}
+void compute_main_inner(uint tint_local_index) {
+  if ((tint_local_index == 0u)) {
+    atomicExchange(arg_0, 0u);
+  }
+  barrier();
+  v.tint_symbol = atomicAdd_d5db1d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  compute_main_inner(gl_LocalInvocationIndex);
+}
diff --git a/test/tint/builtins/gen/literal/atomicAnd/152966.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/atomicAnd/152966.wgsl.expected.ir.glsl
index 0ecc6ec..03153cb 100644
--- a/test/tint/builtins/gen/literal/atomicAnd/152966.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/atomicAnd/152966.wgsl.expected.ir.glsl
@@ -1,11 +1,47 @@
-SKIP: FAILED
+#version 310 es
+precision highp float;
+precision highp int;
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicAnd
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
 
-tint executable returned error: signal: trace/BPT trap
+struct SB_RW {
+  int arg_0;
+};
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  int tint_symbol;
+} v;
+layout(binding = 1, std430)
+buffer tint_symbol_3_1_ssbo {
+  SB_RW tint_symbol_2;
+} v_1;
+int atomicAnd_152966() {
+  int res = atomicAnd(v_1.tint_symbol_2.arg_0, 1);
+  return res;
+}
+void main() {
+  v.tint_symbol = atomicAnd_152966();
+}
+#version 310 es
+
+
+struct SB_RW {
+  int arg_0;
+};
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  int tint_symbol;
+} v;
+layout(binding = 1, std430)
+buffer tint_symbol_3_1_ssbo {
+  SB_RW tint_symbol_2;
+} v_1;
+int atomicAnd_152966() {
+  int res = atomicAnd(v_1.tint_symbol_2.arg_0, 1);
+  return res;
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  v.tint_symbol = atomicAnd_152966();
+}
diff --git a/test/tint/builtins/gen/literal/atomicAnd/34edd3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/atomicAnd/34edd3.wgsl.expected.ir.glsl
index 0ecc6ec..ec0b2f2 100644
--- a/test/tint/builtins/gen/literal/atomicAnd/34edd3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/atomicAnd/34edd3.wgsl.expected.ir.glsl
@@ -1,11 +1,22 @@
-SKIP: FAILED
+#version 310 es
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicAnd
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
-
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  uint tint_symbol;
+} v;
+shared uint arg_0;
+uint atomicAnd_34edd3() {
+  uint res = atomicAnd(arg_0, 1u);
+  return res;
+}
+void compute_main_inner(uint tint_local_index) {
+  if ((tint_local_index == 0u)) {
+    atomicExchange(arg_0, 0u);
+  }
+  barrier();
+  v.tint_symbol = atomicAnd_34edd3();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  compute_main_inner(gl_LocalInvocationIndex);
+}
diff --git a/test/tint/builtins/gen/literal/atomicAnd/45a819.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/atomicAnd/45a819.wgsl.expected.ir.glsl
index 0ecc6ec..ee4b4cd 100644
--- a/test/tint/builtins/gen/literal/atomicAnd/45a819.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/atomicAnd/45a819.wgsl.expected.ir.glsl
@@ -1,11 +1,22 @@
-SKIP: FAILED
+#version 310 es
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicAnd
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
-
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  int tint_symbol;
+} v;
+shared int arg_0;
+int atomicAnd_45a819() {
+  int res = atomicAnd(arg_0, 1);
+  return res;
+}
+void compute_main_inner(uint tint_local_index) {
+  if ((tint_local_index == 0u)) {
+    atomicExchange(arg_0, 0);
+  }
+  barrier();
+  v.tint_symbol = atomicAnd_45a819();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  compute_main_inner(gl_LocalInvocationIndex);
+}
diff --git a/test/tint/builtins/gen/literal/atomicAnd/85a8d9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/atomicAnd/85a8d9.wgsl.expected.ir.glsl
index 0ecc6ec..29c82c0 100644
--- a/test/tint/builtins/gen/literal/atomicAnd/85a8d9.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/atomicAnd/85a8d9.wgsl.expected.ir.glsl
@@ -1,11 +1,47 @@
-SKIP: FAILED
+#version 310 es
+precision highp float;
+precision highp int;
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicAnd
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
 
-tint executable returned error: signal: trace/BPT trap
+struct SB_RW {
+  uint arg_0;
+};
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  uint tint_symbol;
+} v;
+layout(binding = 1, std430)
+buffer tint_symbol_3_1_ssbo {
+  SB_RW tint_symbol_2;
+} v_1;
+uint atomicAnd_85a8d9() {
+  uint res = atomicAnd(v_1.tint_symbol_2.arg_0, 1u);
+  return res;
+}
+void main() {
+  v.tint_symbol = atomicAnd_85a8d9();
+}
+#version 310 es
+
+
+struct SB_RW {
+  uint arg_0;
+};
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  uint tint_symbol;
+} v;
+layout(binding = 1, std430)
+buffer tint_symbol_3_1_ssbo {
+  SB_RW tint_symbol_2;
+} v_1;
+uint atomicAnd_85a8d9() {
+  uint res = atomicAnd(v_1.tint_symbol_2.arg_0, 1u);
+  return res;
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  v.tint_symbol = atomicAnd_85a8d9();
+}
diff --git a/test/tint/builtins/gen/literal/atomicExchange/0a5dca.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/atomicExchange/0a5dca.wgsl.expected.ir.glsl
index 5fe4435..5bbdf12 100644
--- a/test/tint/builtins/gen/literal/atomicExchange/0a5dca.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/atomicExchange/0a5dca.wgsl.expected.ir.glsl
@@ -1,11 +1,22 @@
-SKIP: FAILED
+#version 310 es
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicExchange
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
-
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  uint tint_symbol;
+} v;
+shared uint arg_0;
+uint atomicExchange_0a5dca() {
+  uint res = atomicExchange(arg_0, 1u);
+  return res;
+}
+void compute_main_inner(uint tint_local_index) {
+  if ((tint_local_index == 0u)) {
+    atomicExchange(arg_0, 0u);
+  }
+  barrier();
+  v.tint_symbol = atomicExchange_0a5dca();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  compute_main_inner(gl_LocalInvocationIndex);
+}
diff --git a/test/tint/builtins/gen/literal/atomicExchange/d59712.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/atomicExchange/d59712.wgsl.expected.ir.glsl
index 5fe4435..33d9c55 100644
--- a/test/tint/builtins/gen/literal/atomicExchange/d59712.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/atomicExchange/d59712.wgsl.expected.ir.glsl
@@ -1,11 +1,47 @@
-SKIP: FAILED
+#version 310 es
+precision highp float;
+precision highp int;
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicExchange
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
 
-tint executable returned error: signal: trace/BPT trap
+struct SB_RW {
+  uint arg_0;
+};
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  uint tint_symbol;
+} v;
+layout(binding = 1, std430)
+buffer tint_symbol_3_1_ssbo {
+  SB_RW tint_symbol_2;
+} v_1;
+uint atomicExchange_d59712() {
+  uint res = atomicExchange(v_1.tint_symbol_2.arg_0, 1u);
+  return res;
+}
+void main() {
+  v.tint_symbol = atomicExchange_d59712();
+}
+#version 310 es
+
+
+struct SB_RW {
+  uint arg_0;
+};
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  uint tint_symbol;
+} v;
+layout(binding = 1, std430)
+buffer tint_symbol_3_1_ssbo {
+  SB_RW tint_symbol_2;
+} v_1;
+uint atomicExchange_d59712() {
+  uint res = atomicExchange(v_1.tint_symbol_2.arg_0, 1u);
+  return res;
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  v.tint_symbol = atomicExchange_d59712();
+}
diff --git a/test/tint/builtins/gen/literal/atomicExchange/e114ba.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/atomicExchange/e114ba.wgsl.expected.ir.glsl
index 5fe4435..27cb0ba 100644
--- a/test/tint/builtins/gen/literal/atomicExchange/e114ba.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/atomicExchange/e114ba.wgsl.expected.ir.glsl
@@ -1,11 +1,22 @@
-SKIP: FAILED
+#version 310 es
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicExchange
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
-
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  int tint_symbol;
+} v;
+shared int arg_0;
+int atomicExchange_e114ba() {
+  int res = atomicExchange(arg_0, 1);
+  return res;
+}
+void compute_main_inner(uint tint_local_index) {
+  if ((tint_local_index == 0u)) {
+    atomicExchange(arg_0, 0);
+  }
+  barrier();
+  v.tint_symbol = atomicExchange_e114ba();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  compute_main_inner(gl_LocalInvocationIndex);
+}
diff --git a/test/tint/builtins/gen/literal/atomicExchange/f2e22f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/atomicExchange/f2e22f.wgsl.expected.ir.glsl
index 5fe4435..de42612 100644
--- a/test/tint/builtins/gen/literal/atomicExchange/f2e22f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/atomicExchange/f2e22f.wgsl.expected.ir.glsl
@@ -1,11 +1,47 @@
-SKIP: FAILED
+#version 310 es
+precision highp float;
+precision highp int;
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicExchange
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
 
-tint executable returned error: signal: trace/BPT trap
+struct SB_RW {
+  int arg_0;
+};
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  int tint_symbol;
+} v;
+layout(binding = 1, std430)
+buffer tint_symbol_3_1_ssbo {
+  SB_RW tint_symbol_2;
+} v_1;
+int atomicExchange_f2e22f() {
+  int res = atomicExchange(v_1.tint_symbol_2.arg_0, 1);
+  return res;
+}
+void main() {
+  v.tint_symbol = atomicExchange_f2e22f();
+}
+#version 310 es
+
+
+struct SB_RW {
+  int arg_0;
+};
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  int tint_symbol;
+} v;
+layout(binding = 1, std430)
+buffer tint_symbol_3_1_ssbo {
+  SB_RW tint_symbol_2;
+} v_1;
+int atomicExchange_f2e22f() {
+  int res = atomicExchange(v_1.tint_symbol_2.arg_0, 1);
+  return res;
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  v.tint_symbol = atomicExchange_f2e22f();
+}
diff --git a/test/tint/builtins/gen/literal/atomicMax/51b9be.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/atomicMax/51b9be.wgsl.expected.ir.glsl
index b6d6816..2b06fe6 100644
--- a/test/tint/builtins/gen/literal/atomicMax/51b9be.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/atomicMax/51b9be.wgsl.expected.ir.glsl
@@ -1,11 +1,47 @@
-SKIP: FAILED
+#version 310 es
+precision highp float;
+precision highp int;
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicMax
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
 
-tint executable returned error: signal: trace/BPT trap
+struct SB_RW {
+  uint arg_0;
+};
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  uint tint_symbol;
+} v;
+layout(binding = 1, std430)
+buffer tint_symbol_3_1_ssbo {
+  SB_RW tint_symbol_2;
+} v_1;
+uint atomicMax_51b9be() {
+  uint res = atomicMax(v_1.tint_symbol_2.arg_0, 1u);
+  return res;
+}
+void main() {
+  v.tint_symbol = atomicMax_51b9be();
+}
+#version 310 es
+
+
+struct SB_RW {
+  uint arg_0;
+};
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  uint tint_symbol;
+} v;
+layout(binding = 1, std430)
+buffer tint_symbol_3_1_ssbo {
+  SB_RW tint_symbol_2;
+} v_1;
+uint atomicMax_51b9be() {
+  uint res = atomicMax(v_1.tint_symbol_2.arg_0, 1u);
+  return res;
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  v.tint_symbol = atomicMax_51b9be();
+}
diff --git a/test/tint/builtins/gen/literal/atomicMax/92aa72.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/atomicMax/92aa72.wgsl.expected.ir.glsl
index b6d6816..787457d 100644
--- a/test/tint/builtins/gen/literal/atomicMax/92aa72.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/atomicMax/92aa72.wgsl.expected.ir.glsl
@@ -1,11 +1,47 @@
-SKIP: FAILED
+#version 310 es
+precision highp float;
+precision highp int;
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicMax
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
 
-tint executable returned error: signal: trace/BPT trap
+struct SB_RW {
+  int arg_0;
+};
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  int tint_symbol;
+} v;
+layout(binding = 1, std430)
+buffer tint_symbol_3_1_ssbo {
+  SB_RW tint_symbol_2;
+} v_1;
+int atomicMax_92aa72() {
+  int res = atomicMax(v_1.tint_symbol_2.arg_0, 1);
+  return res;
+}
+void main() {
+  v.tint_symbol = atomicMax_92aa72();
+}
+#version 310 es
+
+
+struct SB_RW {
+  int arg_0;
+};
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  int tint_symbol;
+} v;
+layout(binding = 1, std430)
+buffer tint_symbol_3_1_ssbo {
+  SB_RW tint_symbol_2;
+} v_1;
+int atomicMax_92aa72() {
+  int res = atomicMax(v_1.tint_symbol_2.arg_0, 1);
+  return res;
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  v.tint_symbol = atomicMax_92aa72();
+}
diff --git a/test/tint/builtins/gen/literal/atomicMax/a89cc3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/atomicMax/a89cc3.wgsl.expected.ir.glsl
index b6d6816..461959d 100644
--- a/test/tint/builtins/gen/literal/atomicMax/a89cc3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/atomicMax/a89cc3.wgsl.expected.ir.glsl
@@ -1,11 +1,22 @@
-SKIP: FAILED
+#version 310 es
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicMax
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
-
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  int tint_symbol;
+} v;
+shared int arg_0;
+int atomicMax_a89cc3() {
+  int res = atomicMax(arg_0, 1);
+  return res;
+}
+void compute_main_inner(uint tint_local_index) {
+  if ((tint_local_index == 0u)) {
+    atomicExchange(arg_0, 0);
+  }
+  barrier();
+  v.tint_symbol = atomicMax_a89cc3();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  compute_main_inner(gl_LocalInvocationIndex);
+}
diff --git a/test/tint/builtins/gen/literal/atomicMax/beccfc.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/atomicMax/beccfc.wgsl.expected.ir.glsl
index b6d6816..b5a2944 100644
--- a/test/tint/builtins/gen/literal/atomicMax/beccfc.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/atomicMax/beccfc.wgsl.expected.ir.glsl
@@ -1,11 +1,22 @@
-SKIP: FAILED
+#version 310 es
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicMax
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
-
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  uint tint_symbol;
+} v;
+shared uint arg_0;
+uint atomicMax_beccfc() {
+  uint res = atomicMax(arg_0, 1u);
+  return res;
+}
+void compute_main_inner(uint tint_local_index) {
+  if ((tint_local_index == 0u)) {
+    atomicExchange(arg_0, 0u);
+  }
+  barrier();
+  v.tint_symbol = atomicMax_beccfc();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  compute_main_inner(gl_LocalInvocationIndex);
+}
diff --git a/test/tint/builtins/gen/literal/atomicMin/278235.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/atomicMin/278235.wgsl.expected.ir.glsl
index cce989d..b041c40 100644
--- a/test/tint/builtins/gen/literal/atomicMin/278235.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/atomicMin/278235.wgsl.expected.ir.glsl
@@ -1,11 +1,22 @@
-SKIP: FAILED
+#version 310 es
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicMin
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
-
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  int tint_symbol;
+} v;
+shared int arg_0;
+int atomicMin_278235() {
+  int res = atomicMin(arg_0, 1);
+  return res;
+}
+void compute_main_inner(uint tint_local_index) {
+  if ((tint_local_index == 0u)) {
+    atomicExchange(arg_0, 0);
+  }
+  barrier();
+  v.tint_symbol = atomicMin_278235();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  compute_main_inner(gl_LocalInvocationIndex);
+}
diff --git a/test/tint/builtins/gen/literal/atomicMin/69d383.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/atomicMin/69d383.wgsl.expected.ir.glsl
index cce989d..a473b89 100644
--- a/test/tint/builtins/gen/literal/atomicMin/69d383.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/atomicMin/69d383.wgsl.expected.ir.glsl
@@ -1,11 +1,22 @@
-SKIP: FAILED
+#version 310 es
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicMin
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
-
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  uint tint_symbol;
+} v;
+shared uint arg_0;
+uint atomicMin_69d383() {
+  uint res = atomicMin(arg_0, 1u);
+  return res;
+}
+void compute_main_inner(uint tint_local_index) {
+  if ((tint_local_index == 0u)) {
+    atomicExchange(arg_0, 0u);
+  }
+  barrier();
+  v.tint_symbol = atomicMin_69d383();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  compute_main_inner(gl_LocalInvocationIndex);
+}
diff --git a/test/tint/builtins/gen/literal/atomicMin/8e38dc.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/atomicMin/8e38dc.wgsl.expected.ir.glsl
index cce989d..e8818fc 100644
--- a/test/tint/builtins/gen/literal/atomicMin/8e38dc.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/atomicMin/8e38dc.wgsl.expected.ir.glsl
@@ -1,11 +1,47 @@
-SKIP: FAILED
+#version 310 es
+precision highp float;
+precision highp int;
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicMin
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
 
-tint executable returned error: signal: trace/BPT trap
+struct SB_RW {
+  int arg_0;
+};
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  int tint_symbol;
+} v;
+layout(binding = 1, std430)
+buffer tint_symbol_3_1_ssbo {
+  SB_RW tint_symbol_2;
+} v_1;
+int atomicMin_8e38dc() {
+  int res = atomicMin(v_1.tint_symbol_2.arg_0, 1);
+  return res;
+}
+void main() {
+  v.tint_symbol = atomicMin_8e38dc();
+}
+#version 310 es
+
+
+struct SB_RW {
+  int arg_0;
+};
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  int tint_symbol;
+} v;
+layout(binding = 1, std430)
+buffer tint_symbol_3_1_ssbo {
+  SB_RW tint_symbol_2;
+} v_1;
+int atomicMin_8e38dc() {
+  int res = atomicMin(v_1.tint_symbol_2.arg_0, 1);
+  return res;
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  v.tint_symbol = atomicMin_8e38dc();
+}
diff --git a/test/tint/builtins/gen/literal/atomicMin/c67a74.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/atomicMin/c67a74.wgsl.expected.ir.glsl
index cce989d..53096d7 100644
--- a/test/tint/builtins/gen/literal/atomicMin/c67a74.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/atomicMin/c67a74.wgsl.expected.ir.glsl
@@ -1,11 +1,47 @@
-SKIP: FAILED
+#version 310 es
+precision highp float;
+precision highp int;
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicMin
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
 
-tint executable returned error: signal: trace/BPT trap
+struct SB_RW {
+  uint arg_0;
+};
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  uint tint_symbol;
+} v;
+layout(binding = 1, std430)
+buffer tint_symbol_3_1_ssbo {
+  SB_RW tint_symbol_2;
+} v_1;
+uint atomicMin_c67a74() {
+  uint res = atomicMin(v_1.tint_symbol_2.arg_0, 1u);
+  return res;
+}
+void main() {
+  v.tint_symbol = atomicMin_c67a74();
+}
+#version 310 es
+
+
+struct SB_RW {
+  uint arg_0;
+};
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  uint tint_symbol;
+} v;
+layout(binding = 1, std430)
+buffer tint_symbol_3_1_ssbo {
+  SB_RW tint_symbol_2;
+} v_1;
+uint atomicMin_c67a74() {
+  uint res = atomicMin(v_1.tint_symbol_2.arg_0, 1u);
+  return res;
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  v.tint_symbol = atomicMin_c67a74();
+}
diff --git a/test/tint/builtins/gen/literal/atomicOr/5e3d61.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/atomicOr/5e3d61.wgsl.expected.ir.glsl
index 80f3100..fa98150 100644
--- a/test/tint/builtins/gen/literal/atomicOr/5e3d61.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/atomicOr/5e3d61.wgsl.expected.ir.glsl
@@ -1,11 +1,22 @@
-SKIP: FAILED
+#version 310 es
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicOr
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
-
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  uint tint_symbol;
+} v;
+shared uint arg_0;
+uint atomicOr_5e3d61() {
+  uint res = atomicOr(arg_0, 1u);
+  return res;
+}
+void compute_main_inner(uint tint_local_index) {
+  if ((tint_local_index == 0u)) {
+    atomicExchange(arg_0, 0u);
+  }
+  barrier();
+  v.tint_symbol = atomicOr_5e3d61();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  compute_main_inner(gl_LocalInvocationIndex);
+}
diff --git a/test/tint/builtins/gen/literal/atomicOr/5e95d4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/atomicOr/5e95d4.wgsl.expected.ir.glsl
index 80f3100..8d5fe3d 100644
--- a/test/tint/builtins/gen/literal/atomicOr/5e95d4.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/atomicOr/5e95d4.wgsl.expected.ir.glsl
@@ -1,11 +1,47 @@
-SKIP: FAILED
+#version 310 es
+precision highp float;
+precision highp int;
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicOr
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
 
-tint executable returned error: signal: trace/BPT trap
+struct SB_RW {
+  uint arg_0;
+};
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  uint tint_symbol;
+} v;
+layout(binding = 1, std430)
+buffer tint_symbol_3_1_ssbo {
+  SB_RW tint_symbol_2;
+} v_1;
+uint atomicOr_5e95d4() {
+  uint res = atomicOr(v_1.tint_symbol_2.arg_0, 1u);
+  return res;
+}
+void main() {
+  v.tint_symbol = atomicOr_5e95d4();
+}
+#version 310 es
+
+
+struct SB_RW {
+  uint arg_0;
+};
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  uint tint_symbol;
+} v;
+layout(binding = 1, std430)
+buffer tint_symbol_3_1_ssbo {
+  SB_RW tint_symbol_2;
+} v_1;
+uint atomicOr_5e95d4() {
+  uint res = atomicOr(v_1.tint_symbol_2.arg_0, 1u);
+  return res;
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  v.tint_symbol = atomicOr_5e95d4();
+}
diff --git a/test/tint/builtins/gen/literal/atomicOr/8d96a0.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/atomicOr/8d96a0.wgsl.expected.ir.glsl
index 80f3100..8f6f576 100644
--- a/test/tint/builtins/gen/literal/atomicOr/8d96a0.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/atomicOr/8d96a0.wgsl.expected.ir.glsl
@@ -1,11 +1,47 @@
-SKIP: FAILED
+#version 310 es
+precision highp float;
+precision highp int;
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicOr
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
 
-tint executable returned error: signal: trace/BPT trap
+struct SB_RW {
+  int arg_0;
+};
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  int tint_symbol;
+} v;
+layout(binding = 1, std430)
+buffer tint_symbol_3_1_ssbo {
+  SB_RW tint_symbol_2;
+} v_1;
+int atomicOr_8d96a0() {
+  int res = atomicOr(v_1.tint_symbol_2.arg_0, 1);
+  return res;
+}
+void main() {
+  v.tint_symbol = atomicOr_8d96a0();
+}
+#version 310 es
+
+
+struct SB_RW {
+  int arg_0;
+};
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  int tint_symbol;
+} v;
+layout(binding = 1, std430)
+buffer tint_symbol_3_1_ssbo {
+  SB_RW tint_symbol_2;
+} v_1;
+int atomicOr_8d96a0() {
+  int res = atomicOr(v_1.tint_symbol_2.arg_0, 1);
+  return res;
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  v.tint_symbol = atomicOr_8d96a0();
+}
diff --git a/test/tint/builtins/gen/literal/atomicOr/d09248.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/atomicOr/d09248.wgsl.expected.ir.glsl
index 80f3100..c3cc75f 100644
--- a/test/tint/builtins/gen/literal/atomicOr/d09248.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/atomicOr/d09248.wgsl.expected.ir.glsl
@@ -1,11 +1,22 @@
-SKIP: FAILED
+#version 310 es
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicOr
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
-
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  int tint_symbol;
+} v;
+shared int arg_0;
+int atomicOr_d09248() {
+  int res = atomicOr(arg_0, 1);
+  return res;
+}
+void compute_main_inner(uint tint_local_index) {
+  if ((tint_local_index == 0u)) {
+    atomicExchange(arg_0, 0);
+  }
+  barrier();
+  v.tint_symbol = atomicOr_d09248();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  compute_main_inner(gl_LocalInvocationIndex);
+}
diff --git a/test/tint/builtins/gen/literal/atomicStore/726882.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/atomicStore/726882.wgsl.expected.ir.glsl
index 7292d5c..d5cfb55 100644
--- a/test/tint/builtins/gen/literal/atomicStore/726882.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/atomicStore/726882.wgsl.expected.ir.glsl
@@ -1,11 +1,17 @@
-SKIP: FAILED
+#version 310 es
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
-
-tint executable returned error: signal: trace/BPT trap
+shared uint arg_0;
+void atomicStore_726882() {
+  atomicExchange(arg_0, 1u);
+}
+void compute_main_inner(uint tint_local_index) {
+  if ((tint_local_index == 0u)) {
+    atomicExchange(arg_0, 0u);
+  }
+  barrier();
+  atomicStore_726882();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  compute_main_inner(gl_LocalInvocationIndex);
+}
diff --git a/test/tint/builtins/gen/literal/atomicStore/8bea94.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/atomicStore/8bea94.wgsl.expected.ir.glsl
index 7292d5c..fe23518 100644
--- a/test/tint/builtins/gen/literal/atomicStore/8bea94.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/atomicStore/8bea94.wgsl.expected.ir.glsl
@@ -1,11 +1,17 @@
-SKIP: FAILED
+#version 310 es
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
-
-tint executable returned error: signal: trace/BPT trap
+shared int arg_0;
+void atomicStore_8bea94() {
+  atomicExchange(arg_0, 1);
+}
+void compute_main_inner(uint tint_local_index) {
+  if ((tint_local_index == 0u)) {
+    atomicExchange(arg_0, 0);
+  }
+  barrier();
+  atomicStore_8bea94();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  compute_main_inner(gl_LocalInvocationIndex);
+}
diff --git a/test/tint/builtins/gen/literal/atomicStore/cdc29e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/atomicStore/cdc29e.wgsl.expected.ir.glsl
index 7292d5c..71b9cc3 100644
--- a/test/tint/builtins/gen/literal/atomicStore/cdc29e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/atomicStore/cdc29e.wgsl.expected.ir.glsl
@@ -1,11 +1,37 @@
-SKIP: FAILED
+#version 310 es
+precision highp float;
+precision highp int;
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
 
-tint executable returned error: signal: trace/BPT trap
+struct SB_RW {
+  uint arg_0;
+};
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  SB_RW tint_symbol;
+} v;
+void atomicStore_cdc29e() {
+  atomicExchange(v.tint_symbol.arg_0, 1u);
+}
+void main() {
+  atomicStore_cdc29e();
+}
+#version 310 es
+
+
+struct SB_RW {
+  uint arg_0;
+};
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  SB_RW tint_symbol;
+} v;
+void atomicStore_cdc29e() {
+  atomicExchange(v.tint_symbol.arg_0, 1u);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  atomicStore_cdc29e();
+}
diff --git a/test/tint/builtins/gen/literal/atomicStore/d1e9a6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/atomicStore/d1e9a6.wgsl.expected.ir.glsl
index 7292d5c..a1f72a0 100644
--- a/test/tint/builtins/gen/literal/atomicStore/d1e9a6.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/atomicStore/d1e9a6.wgsl.expected.ir.glsl
@@ -1,11 +1,37 @@
-SKIP: FAILED
+#version 310 es
+precision highp float;
+precision highp int;
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
 
-tint executable returned error: signal: trace/BPT trap
+struct SB_RW {
+  int arg_0;
+};
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  SB_RW tint_symbol;
+} v;
+void atomicStore_d1e9a6() {
+  atomicExchange(v.tint_symbol.arg_0, 1);
+}
+void main() {
+  atomicStore_d1e9a6();
+}
+#version 310 es
+
+
+struct SB_RW {
+  int arg_0;
+};
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  SB_RW tint_symbol;
+} v;
+void atomicStore_d1e9a6() {
+  atomicExchange(v.tint_symbol.arg_0, 1);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  atomicStore_d1e9a6();
+}
diff --git a/test/tint/builtins/gen/literal/atomicXor/54510e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/atomicXor/54510e.wgsl.expected.ir.glsl
index 452ca52..9a8416c 100644
--- a/test/tint/builtins/gen/literal/atomicXor/54510e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/atomicXor/54510e.wgsl.expected.ir.glsl
@@ -1,11 +1,47 @@
-SKIP: FAILED
+#version 310 es
+precision highp float;
+precision highp int;
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicXor
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
 
-tint executable returned error: signal: trace/BPT trap
+struct SB_RW {
+  uint arg_0;
+};
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  uint tint_symbol;
+} v;
+layout(binding = 1, std430)
+buffer tint_symbol_3_1_ssbo {
+  SB_RW tint_symbol_2;
+} v_1;
+uint atomicXor_54510e() {
+  uint res = atomicXor(v_1.tint_symbol_2.arg_0, 1u);
+  return res;
+}
+void main() {
+  v.tint_symbol = atomicXor_54510e();
+}
+#version 310 es
+
+
+struct SB_RW {
+  uint arg_0;
+};
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  uint tint_symbol;
+} v;
+layout(binding = 1, std430)
+buffer tint_symbol_3_1_ssbo {
+  SB_RW tint_symbol_2;
+} v_1;
+uint atomicXor_54510e() {
+  uint res = atomicXor(v_1.tint_symbol_2.arg_0, 1u);
+  return res;
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  v.tint_symbol = atomicXor_54510e();
+}
diff --git a/test/tint/builtins/gen/literal/atomicXor/75dc95.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/atomicXor/75dc95.wgsl.expected.ir.glsl
index 452ca52..9198c1c 100644
--- a/test/tint/builtins/gen/literal/atomicXor/75dc95.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/atomicXor/75dc95.wgsl.expected.ir.glsl
@@ -1,11 +1,22 @@
-SKIP: FAILED
+#version 310 es
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicXor
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
-
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  int tint_symbol;
+} v;
+shared int arg_0;
+int atomicXor_75dc95() {
+  int res = atomicXor(arg_0, 1);
+  return res;
+}
+void compute_main_inner(uint tint_local_index) {
+  if ((tint_local_index == 0u)) {
+    atomicExchange(arg_0, 0);
+  }
+  barrier();
+  v.tint_symbol = atomicXor_75dc95();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  compute_main_inner(gl_LocalInvocationIndex);
+}
diff --git a/test/tint/builtins/gen/literal/atomicXor/c1b78c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/atomicXor/c1b78c.wgsl.expected.ir.glsl
index 452ca52..e13c1c3 100644
--- a/test/tint/builtins/gen/literal/atomicXor/c1b78c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/atomicXor/c1b78c.wgsl.expected.ir.glsl
@@ -1,11 +1,47 @@
-SKIP: FAILED
+#version 310 es
+precision highp float;
+precision highp int;
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicXor
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
 
-tint executable returned error: signal: trace/BPT trap
+struct SB_RW {
+  int arg_0;
+};
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  int tint_symbol;
+} v;
+layout(binding = 1, std430)
+buffer tint_symbol_3_1_ssbo {
+  SB_RW tint_symbol_2;
+} v_1;
+int atomicXor_c1b78c() {
+  int res = atomicXor(v_1.tint_symbol_2.arg_0, 1);
+  return res;
+}
+void main() {
+  v.tint_symbol = atomicXor_c1b78c();
+}
+#version 310 es
+
+
+struct SB_RW {
+  int arg_0;
+};
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  int tint_symbol;
+} v;
+layout(binding = 1, std430)
+buffer tint_symbol_3_1_ssbo {
+  SB_RW tint_symbol_2;
+} v_1;
+int atomicXor_c1b78c() {
+  int res = atomicXor(v_1.tint_symbol_2.arg_0, 1);
+  return res;
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  v.tint_symbol = atomicXor_c1b78c();
+}
diff --git a/test/tint/builtins/gen/literal/atomicXor/c8e6be.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/atomicXor/c8e6be.wgsl.expected.ir.glsl
index 452ca52..29e7dd3 100644
--- a/test/tint/builtins/gen/literal/atomicXor/c8e6be.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/atomicXor/c8e6be.wgsl.expected.ir.glsl
@@ -1,11 +1,22 @@
-SKIP: FAILED
+#version 310 es
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicXor
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
-
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  uint tint_symbol;
+} v;
+shared uint arg_0;
+uint atomicXor_c8e6be() {
+  uint res = atomicXor(arg_0, 1u);
+  return res;
+}
+void compute_main_inner(uint tint_local_index) {
+  if ((tint_local_index == 0u)) {
+    atomicExchange(arg_0, 0u);
+  }
+  barrier();
+  v.tint_symbol = atomicXor_c8e6be();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  compute_main_inner(gl_LocalInvocationIndex);
+}
diff --git a/test/tint/builtins/gen/var/atomicAdd/794055.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/atomicAdd/794055.wgsl.expected.ir.glsl
index 495510c..0c4429e 100644
--- a/test/tint/builtins/gen/var/atomicAdd/794055.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/atomicAdd/794055.wgsl.expected.ir.glsl
@@ -1,11 +1,23 @@
-SKIP: FAILED
+#version 310 es
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicAdd
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
-
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  int tint_symbol;
+} v;
+shared int arg_0;
+int atomicAdd_794055() {
+  int arg_1 = 1;
+  int res = atomicAdd(arg_0, arg_1);
+  return res;
+}
+void compute_main_inner(uint tint_local_index) {
+  if ((tint_local_index == 0u)) {
+    atomicExchange(arg_0, 0);
+  }
+  barrier();
+  v.tint_symbol = atomicAdd_794055();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  compute_main_inner(gl_LocalInvocationIndex);
+}
diff --git a/test/tint/builtins/gen/var/atomicAdd/8a199a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/atomicAdd/8a199a.wgsl.expected.ir.glsl
index 495510c..97c85a1 100644
--- a/test/tint/builtins/gen/var/atomicAdd/8a199a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/atomicAdd/8a199a.wgsl.expected.ir.glsl
@@ -1,11 +1,49 @@
-SKIP: FAILED
+#version 310 es
+precision highp float;
+precision highp int;
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicAdd
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
 
-tint executable returned error: signal: trace/BPT trap
+struct SB_RW {
+  uint arg_0;
+};
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  uint tint_symbol;
+} v;
+layout(binding = 1, std430)
+buffer tint_symbol_3_1_ssbo {
+  SB_RW tint_symbol_2;
+} v_1;
+uint atomicAdd_8a199a() {
+  uint arg_1 = 1u;
+  uint res = atomicAdd(v_1.tint_symbol_2.arg_0, arg_1);
+  return res;
+}
+void main() {
+  v.tint_symbol = atomicAdd_8a199a();
+}
+#version 310 es
+
+
+struct SB_RW {
+  uint arg_0;
+};
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  uint tint_symbol;
+} v;
+layout(binding = 1, std430)
+buffer tint_symbol_3_1_ssbo {
+  SB_RW tint_symbol_2;
+} v_1;
+uint atomicAdd_8a199a() {
+  uint arg_1 = 1u;
+  uint res = atomicAdd(v_1.tint_symbol_2.arg_0, arg_1);
+  return res;
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  v.tint_symbol = atomicAdd_8a199a();
+}
diff --git a/test/tint/builtins/gen/var/atomicAdd/d32fe4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/atomicAdd/d32fe4.wgsl.expected.ir.glsl
index 495510c..36dcc05 100644
--- a/test/tint/builtins/gen/var/atomicAdd/d32fe4.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/atomicAdd/d32fe4.wgsl.expected.ir.glsl
@@ -1,11 +1,49 @@
-SKIP: FAILED
+#version 310 es
+precision highp float;
+precision highp int;
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicAdd
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
 
-tint executable returned error: signal: trace/BPT trap
+struct SB_RW {
+  int arg_0;
+};
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  int tint_symbol;
+} v;
+layout(binding = 1, std430)
+buffer tint_symbol_3_1_ssbo {
+  SB_RW tint_symbol_2;
+} v_1;
+int atomicAdd_d32fe4() {
+  int arg_1 = 1;
+  int res = atomicAdd(v_1.tint_symbol_2.arg_0, arg_1);
+  return res;
+}
+void main() {
+  v.tint_symbol = atomicAdd_d32fe4();
+}
+#version 310 es
+
+
+struct SB_RW {
+  int arg_0;
+};
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  int tint_symbol;
+} v;
+layout(binding = 1, std430)
+buffer tint_symbol_3_1_ssbo {
+  SB_RW tint_symbol_2;
+} v_1;
+int atomicAdd_d32fe4() {
+  int arg_1 = 1;
+  int res = atomicAdd(v_1.tint_symbol_2.arg_0, arg_1);
+  return res;
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  v.tint_symbol = atomicAdd_d32fe4();
+}
diff --git a/test/tint/builtins/gen/var/atomicAdd/d5db1d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/atomicAdd/d5db1d.wgsl.expected.ir.glsl
index 495510c..a1a8fb7 100644
--- a/test/tint/builtins/gen/var/atomicAdd/d5db1d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/atomicAdd/d5db1d.wgsl.expected.ir.glsl
@@ -1,11 +1,23 @@
-SKIP: FAILED
+#version 310 es
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicAdd
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
-
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  uint tint_symbol;
+} v;
+shared uint arg_0;
+uint atomicAdd_d5db1d() {
+  uint arg_1 = 1u;
+  uint res = atomicAdd(arg_0, arg_1);
+  return res;
+}
+void compute_main_inner(uint tint_local_index) {
+  if ((tint_local_index == 0u)) {
+    atomicExchange(arg_0, 0u);
+  }
+  barrier();
+  v.tint_symbol = atomicAdd_d5db1d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  compute_main_inner(gl_LocalInvocationIndex);
+}
diff --git a/test/tint/builtins/gen/var/atomicAnd/152966.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/atomicAnd/152966.wgsl.expected.ir.glsl
index 0ecc6ec..a02ac54 100644
--- a/test/tint/builtins/gen/var/atomicAnd/152966.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/atomicAnd/152966.wgsl.expected.ir.glsl
@@ -1,11 +1,49 @@
-SKIP: FAILED
+#version 310 es
+precision highp float;
+precision highp int;
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicAnd
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
 
-tint executable returned error: signal: trace/BPT trap
+struct SB_RW {
+  int arg_0;
+};
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  int tint_symbol;
+} v;
+layout(binding = 1, std430)
+buffer tint_symbol_3_1_ssbo {
+  SB_RW tint_symbol_2;
+} v_1;
+int atomicAnd_152966() {
+  int arg_1 = 1;
+  int res = atomicAnd(v_1.tint_symbol_2.arg_0, arg_1);
+  return res;
+}
+void main() {
+  v.tint_symbol = atomicAnd_152966();
+}
+#version 310 es
+
+
+struct SB_RW {
+  int arg_0;
+};
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  int tint_symbol;
+} v;
+layout(binding = 1, std430)
+buffer tint_symbol_3_1_ssbo {
+  SB_RW tint_symbol_2;
+} v_1;
+int atomicAnd_152966() {
+  int arg_1 = 1;
+  int res = atomicAnd(v_1.tint_symbol_2.arg_0, arg_1);
+  return res;
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  v.tint_symbol = atomicAnd_152966();
+}
diff --git a/test/tint/builtins/gen/var/atomicAnd/34edd3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/atomicAnd/34edd3.wgsl.expected.ir.glsl
index 0ecc6ec..7553cb8 100644
--- a/test/tint/builtins/gen/var/atomicAnd/34edd3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/atomicAnd/34edd3.wgsl.expected.ir.glsl
@@ -1,11 +1,23 @@
-SKIP: FAILED
+#version 310 es
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicAnd
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
-
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  uint tint_symbol;
+} v;
+shared uint arg_0;
+uint atomicAnd_34edd3() {
+  uint arg_1 = 1u;
+  uint res = atomicAnd(arg_0, arg_1);
+  return res;
+}
+void compute_main_inner(uint tint_local_index) {
+  if ((tint_local_index == 0u)) {
+    atomicExchange(arg_0, 0u);
+  }
+  barrier();
+  v.tint_symbol = atomicAnd_34edd3();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  compute_main_inner(gl_LocalInvocationIndex);
+}
diff --git a/test/tint/builtins/gen/var/atomicAnd/45a819.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/atomicAnd/45a819.wgsl.expected.ir.glsl
index 0ecc6ec..81cf827 100644
--- a/test/tint/builtins/gen/var/atomicAnd/45a819.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/atomicAnd/45a819.wgsl.expected.ir.glsl
@@ -1,11 +1,23 @@
-SKIP: FAILED
+#version 310 es
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicAnd
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
-
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  int tint_symbol;
+} v;
+shared int arg_0;
+int atomicAnd_45a819() {
+  int arg_1 = 1;
+  int res = atomicAnd(arg_0, arg_1);
+  return res;
+}
+void compute_main_inner(uint tint_local_index) {
+  if ((tint_local_index == 0u)) {
+    atomicExchange(arg_0, 0);
+  }
+  barrier();
+  v.tint_symbol = atomicAnd_45a819();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  compute_main_inner(gl_LocalInvocationIndex);
+}
diff --git a/test/tint/builtins/gen/var/atomicAnd/85a8d9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/atomicAnd/85a8d9.wgsl.expected.ir.glsl
index 0ecc6ec..448de69 100644
--- a/test/tint/builtins/gen/var/atomicAnd/85a8d9.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/atomicAnd/85a8d9.wgsl.expected.ir.glsl
@@ -1,11 +1,49 @@
-SKIP: FAILED
+#version 310 es
+precision highp float;
+precision highp int;
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicAnd
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
 
-tint executable returned error: signal: trace/BPT trap
+struct SB_RW {
+  uint arg_0;
+};
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  uint tint_symbol;
+} v;
+layout(binding = 1, std430)
+buffer tint_symbol_3_1_ssbo {
+  SB_RW tint_symbol_2;
+} v_1;
+uint atomicAnd_85a8d9() {
+  uint arg_1 = 1u;
+  uint res = atomicAnd(v_1.tint_symbol_2.arg_0, arg_1);
+  return res;
+}
+void main() {
+  v.tint_symbol = atomicAnd_85a8d9();
+}
+#version 310 es
+
+
+struct SB_RW {
+  uint arg_0;
+};
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  uint tint_symbol;
+} v;
+layout(binding = 1, std430)
+buffer tint_symbol_3_1_ssbo {
+  SB_RW tint_symbol_2;
+} v_1;
+uint atomicAnd_85a8d9() {
+  uint arg_1 = 1u;
+  uint res = atomicAnd(v_1.tint_symbol_2.arg_0, arg_1);
+  return res;
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  v.tint_symbol = atomicAnd_85a8d9();
+}
diff --git a/test/tint/builtins/gen/var/atomicExchange/0a5dca.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/atomicExchange/0a5dca.wgsl.expected.ir.glsl
index 5fe4435..5ba945f 100644
--- a/test/tint/builtins/gen/var/atomicExchange/0a5dca.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/atomicExchange/0a5dca.wgsl.expected.ir.glsl
@@ -1,11 +1,23 @@
-SKIP: FAILED
+#version 310 es
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicExchange
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
-
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  uint tint_symbol;
+} v;
+shared uint arg_0;
+uint atomicExchange_0a5dca() {
+  uint arg_1 = 1u;
+  uint res = atomicExchange(arg_0, arg_1);
+  return res;
+}
+void compute_main_inner(uint tint_local_index) {
+  if ((tint_local_index == 0u)) {
+    atomicExchange(arg_0, 0u);
+  }
+  barrier();
+  v.tint_symbol = atomicExchange_0a5dca();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  compute_main_inner(gl_LocalInvocationIndex);
+}
diff --git a/test/tint/builtins/gen/var/atomicExchange/d59712.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/atomicExchange/d59712.wgsl.expected.ir.glsl
index 5fe4435..39343f02 100644
--- a/test/tint/builtins/gen/var/atomicExchange/d59712.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/atomicExchange/d59712.wgsl.expected.ir.glsl
@@ -1,11 +1,49 @@
-SKIP: FAILED
+#version 310 es
+precision highp float;
+precision highp int;
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicExchange
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
 
-tint executable returned error: signal: trace/BPT trap
+struct SB_RW {
+  uint arg_0;
+};
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  uint tint_symbol;
+} v;
+layout(binding = 1, std430)
+buffer tint_symbol_3_1_ssbo {
+  SB_RW tint_symbol_2;
+} v_1;
+uint atomicExchange_d59712() {
+  uint arg_1 = 1u;
+  uint res = atomicExchange(v_1.tint_symbol_2.arg_0, arg_1);
+  return res;
+}
+void main() {
+  v.tint_symbol = atomicExchange_d59712();
+}
+#version 310 es
+
+
+struct SB_RW {
+  uint arg_0;
+};
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  uint tint_symbol;
+} v;
+layout(binding = 1, std430)
+buffer tint_symbol_3_1_ssbo {
+  SB_RW tint_symbol_2;
+} v_1;
+uint atomicExchange_d59712() {
+  uint arg_1 = 1u;
+  uint res = atomicExchange(v_1.tint_symbol_2.arg_0, arg_1);
+  return res;
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  v.tint_symbol = atomicExchange_d59712();
+}
diff --git a/test/tint/builtins/gen/var/atomicExchange/e114ba.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/atomicExchange/e114ba.wgsl.expected.ir.glsl
index 5fe4435..e8d900a 100644
--- a/test/tint/builtins/gen/var/atomicExchange/e114ba.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/atomicExchange/e114ba.wgsl.expected.ir.glsl
@@ -1,11 +1,23 @@
-SKIP: FAILED
+#version 310 es
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicExchange
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
-
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  int tint_symbol;
+} v;
+shared int arg_0;
+int atomicExchange_e114ba() {
+  int arg_1 = 1;
+  int res = atomicExchange(arg_0, arg_1);
+  return res;
+}
+void compute_main_inner(uint tint_local_index) {
+  if ((tint_local_index == 0u)) {
+    atomicExchange(arg_0, 0);
+  }
+  barrier();
+  v.tint_symbol = atomicExchange_e114ba();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  compute_main_inner(gl_LocalInvocationIndex);
+}
diff --git a/test/tint/builtins/gen/var/atomicExchange/f2e22f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/atomicExchange/f2e22f.wgsl.expected.ir.glsl
index 5fe4435..73a7246 100644
--- a/test/tint/builtins/gen/var/atomicExchange/f2e22f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/atomicExchange/f2e22f.wgsl.expected.ir.glsl
@@ -1,11 +1,49 @@
-SKIP: FAILED
+#version 310 es
+precision highp float;
+precision highp int;
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicExchange
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
 
-tint executable returned error: signal: trace/BPT trap
+struct SB_RW {
+  int arg_0;
+};
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  int tint_symbol;
+} v;
+layout(binding = 1, std430)
+buffer tint_symbol_3_1_ssbo {
+  SB_RW tint_symbol_2;
+} v_1;
+int atomicExchange_f2e22f() {
+  int arg_1 = 1;
+  int res = atomicExchange(v_1.tint_symbol_2.arg_0, arg_1);
+  return res;
+}
+void main() {
+  v.tint_symbol = atomicExchange_f2e22f();
+}
+#version 310 es
+
+
+struct SB_RW {
+  int arg_0;
+};
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  int tint_symbol;
+} v;
+layout(binding = 1, std430)
+buffer tint_symbol_3_1_ssbo {
+  SB_RW tint_symbol_2;
+} v_1;
+int atomicExchange_f2e22f() {
+  int arg_1 = 1;
+  int res = atomicExchange(v_1.tint_symbol_2.arg_0, arg_1);
+  return res;
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  v.tint_symbol = atomicExchange_f2e22f();
+}
diff --git a/test/tint/builtins/gen/var/atomicMax/51b9be.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/atomicMax/51b9be.wgsl.expected.ir.glsl
index b6d6816..3dcd8d4 100644
--- a/test/tint/builtins/gen/var/atomicMax/51b9be.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/atomicMax/51b9be.wgsl.expected.ir.glsl
@@ -1,11 +1,49 @@
-SKIP: FAILED
+#version 310 es
+precision highp float;
+precision highp int;
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicMax
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
 
-tint executable returned error: signal: trace/BPT trap
+struct SB_RW {
+  uint arg_0;
+};
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  uint tint_symbol;
+} v;
+layout(binding = 1, std430)
+buffer tint_symbol_3_1_ssbo {
+  SB_RW tint_symbol_2;
+} v_1;
+uint atomicMax_51b9be() {
+  uint arg_1 = 1u;
+  uint res = atomicMax(v_1.tint_symbol_2.arg_0, arg_1);
+  return res;
+}
+void main() {
+  v.tint_symbol = atomicMax_51b9be();
+}
+#version 310 es
+
+
+struct SB_RW {
+  uint arg_0;
+};
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  uint tint_symbol;
+} v;
+layout(binding = 1, std430)
+buffer tint_symbol_3_1_ssbo {
+  SB_RW tint_symbol_2;
+} v_1;
+uint atomicMax_51b9be() {
+  uint arg_1 = 1u;
+  uint res = atomicMax(v_1.tint_symbol_2.arg_0, arg_1);
+  return res;
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  v.tint_symbol = atomicMax_51b9be();
+}
diff --git a/test/tint/builtins/gen/var/atomicMax/92aa72.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/atomicMax/92aa72.wgsl.expected.ir.glsl
index b6d6816..f73c000 100644
--- a/test/tint/builtins/gen/var/atomicMax/92aa72.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/atomicMax/92aa72.wgsl.expected.ir.glsl
@@ -1,11 +1,49 @@
-SKIP: FAILED
+#version 310 es
+precision highp float;
+precision highp int;
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicMax
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
 
-tint executable returned error: signal: trace/BPT trap
+struct SB_RW {
+  int arg_0;
+};
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  int tint_symbol;
+} v;
+layout(binding = 1, std430)
+buffer tint_symbol_3_1_ssbo {
+  SB_RW tint_symbol_2;
+} v_1;
+int atomicMax_92aa72() {
+  int arg_1 = 1;
+  int res = atomicMax(v_1.tint_symbol_2.arg_0, arg_1);
+  return res;
+}
+void main() {
+  v.tint_symbol = atomicMax_92aa72();
+}
+#version 310 es
+
+
+struct SB_RW {
+  int arg_0;
+};
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  int tint_symbol;
+} v;
+layout(binding = 1, std430)
+buffer tint_symbol_3_1_ssbo {
+  SB_RW tint_symbol_2;
+} v_1;
+int atomicMax_92aa72() {
+  int arg_1 = 1;
+  int res = atomicMax(v_1.tint_symbol_2.arg_0, arg_1);
+  return res;
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  v.tint_symbol = atomicMax_92aa72();
+}
diff --git a/test/tint/builtins/gen/var/atomicMax/a89cc3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/atomicMax/a89cc3.wgsl.expected.ir.glsl
index b6d6816..e5a7923 100644
--- a/test/tint/builtins/gen/var/atomicMax/a89cc3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/atomicMax/a89cc3.wgsl.expected.ir.glsl
@@ -1,11 +1,23 @@
-SKIP: FAILED
+#version 310 es
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicMax
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
-
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  int tint_symbol;
+} v;
+shared int arg_0;
+int atomicMax_a89cc3() {
+  int arg_1 = 1;
+  int res = atomicMax(arg_0, arg_1);
+  return res;
+}
+void compute_main_inner(uint tint_local_index) {
+  if ((tint_local_index == 0u)) {
+    atomicExchange(arg_0, 0);
+  }
+  barrier();
+  v.tint_symbol = atomicMax_a89cc3();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  compute_main_inner(gl_LocalInvocationIndex);
+}
diff --git a/test/tint/builtins/gen/var/atomicMax/beccfc.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/atomicMax/beccfc.wgsl.expected.ir.glsl
index b6d6816..36676a5 100644
--- a/test/tint/builtins/gen/var/atomicMax/beccfc.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/atomicMax/beccfc.wgsl.expected.ir.glsl
@@ -1,11 +1,23 @@
-SKIP: FAILED
+#version 310 es
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicMax
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
-
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  uint tint_symbol;
+} v;
+shared uint arg_0;
+uint atomicMax_beccfc() {
+  uint arg_1 = 1u;
+  uint res = atomicMax(arg_0, arg_1);
+  return res;
+}
+void compute_main_inner(uint tint_local_index) {
+  if ((tint_local_index == 0u)) {
+    atomicExchange(arg_0, 0u);
+  }
+  barrier();
+  v.tint_symbol = atomicMax_beccfc();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  compute_main_inner(gl_LocalInvocationIndex);
+}
diff --git a/test/tint/builtins/gen/var/atomicMin/278235.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/atomicMin/278235.wgsl.expected.ir.glsl
index cce989d..b70ddf0 100644
--- a/test/tint/builtins/gen/var/atomicMin/278235.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/atomicMin/278235.wgsl.expected.ir.glsl
@@ -1,11 +1,23 @@
-SKIP: FAILED
+#version 310 es
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicMin
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
-
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  int tint_symbol;
+} v;
+shared int arg_0;
+int atomicMin_278235() {
+  int arg_1 = 1;
+  int res = atomicMin(arg_0, arg_1);
+  return res;
+}
+void compute_main_inner(uint tint_local_index) {
+  if ((tint_local_index == 0u)) {
+    atomicExchange(arg_0, 0);
+  }
+  barrier();
+  v.tint_symbol = atomicMin_278235();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  compute_main_inner(gl_LocalInvocationIndex);
+}
diff --git a/test/tint/builtins/gen/var/atomicMin/69d383.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/atomicMin/69d383.wgsl.expected.ir.glsl
index cce989d..2e13c8b 100644
--- a/test/tint/builtins/gen/var/atomicMin/69d383.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/atomicMin/69d383.wgsl.expected.ir.glsl
@@ -1,11 +1,23 @@
-SKIP: FAILED
+#version 310 es
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicMin
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
-
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  uint tint_symbol;
+} v;
+shared uint arg_0;
+uint atomicMin_69d383() {
+  uint arg_1 = 1u;
+  uint res = atomicMin(arg_0, arg_1);
+  return res;
+}
+void compute_main_inner(uint tint_local_index) {
+  if ((tint_local_index == 0u)) {
+    atomicExchange(arg_0, 0u);
+  }
+  barrier();
+  v.tint_symbol = atomicMin_69d383();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  compute_main_inner(gl_LocalInvocationIndex);
+}
diff --git a/test/tint/builtins/gen/var/atomicMin/8e38dc.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/atomicMin/8e38dc.wgsl.expected.ir.glsl
index cce989d..20c5b74 100644
--- a/test/tint/builtins/gen/var/atomicMin/8e38dc.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/atomicMin/8e38dc.wgsl.expected.ir.glsl
@@ -1,11 +1,49 @@
-SKIP: FAILED
+#version 310 es
+precision highp float;
+precision highp int;
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicMin
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
 
-tint executable returned error: signal: trace/BPT trap
+struct SB_RW {
+  int arg_0;
+};
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  int tint_symbol;
+} v;
+layout(binding = 1, std430)
+buffer tint_symbol_3_1_ssbo {
+  SB_RW tint_symbol_2;
+} v_1;
+int atomicMin_8e38dc() {
+  int arg_1 = 1;
+  int res = atomicMin(v_1.tint_symbol_2.arg_0, arg_1);
+  return res;
+}
+void main() {
+  v.tint_symbol = atomicMin_8e38dc();
+}
+#version 310 es
+
+
+struct SB_RW {
+  int arg_0;
+};
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  int tint_symbol;
+} v;
+layout(binding = 1, std430)
+buffer tint_symbol_3_1_ssbo {
+  SB_RW tint_symbol_2;
+} v_1;
+int atomicMin_8e38dc() {
+  int arg_1 = 1;
+  int res = atomicMin(v_1.tint_symbol_2.arg_0, arg_1);
+  return res;
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  v.tint_symbol = atomicMin_8e38dc();
+}
diff --git a/test/tint/builtins/gen/var/atomicMin/c67a74.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/atomicMin/c67a74.wgsl.expected.ir.glsl
index cce989d..d3fcb0b 100644
--- a/test/tint/builtins/gen/var/atomicMin/c67a74.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/atomicMin/c67a74.wgsl.expected.ir.glsl
@@ -1,11 +1,49 @@
-SKIP: FAILED
+#version 310 es
+precision highp float;
+precision highp int;
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicMin
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
 
-tint executable returned error: signal: trace/BPT trap
+struct SB_RW {
+  uint arg_0;
+};
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  uint tint_symbol;
+} v;
+layout(binding = 1, std430)
+buffer tint_symbol_3_1_ssbo {
+  SB_RW tint_symbol_2;
+} v_1;
+uint atomicMin_c67a74() {
+  uint arg_1 = 1u;
+  uint res = atomicMin(v_1.tint_symbol_2.arg_0, arg_1);
+  return res;
+}
+void main() {
+  v.tint_symbol = atomicMin_c67a74();
+}
+#version 310 es
+
+
+struct SB_RW {
+  uint arg_0;
+};
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  uint tint_symbol;
+} v;
+layout(binding = 1, std430)
+buffer tint_symbol_3_1_ssbo {
+  SB_RW tint_symbol_2;
+} v_1;
+uint atomicMin_c67a74() {
+  uint arg_1 = 1u;
+  uint res = atomicMin(v_1.tint_symbol_2.arg_0, arg_1);
+  return res;
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  v.tint_symbol = atomicMin_c67a74();
+}
diff --git a/test/tint/builtins/gen/var/atomicOr/5e3d61.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/atomicOr/5e3d61.wgsl.expected.ir.glsl
index 80f3100..1f1474c 100644
--- a/test/tint/builtins/gen/var/atomicOr/5e3d61.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/atomicOr/5e3d61.wgsl.expected.ir.glsl
@@ -1,11 +1,23 @@
-SKIP: FAILED
+#version 310 es
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicOr
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
-
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  uint tint_symbol;
+} v;
+shared uint arg_0;
+uint atomicOr_5e3d61() {
+  uint arg_1 = 1u;
+  uint res = atomicOr(arg_0, arg_1);
+  return res;
+}
+void compute_main_inner(uint tint_local_index) {
+  if ((tint_local_index == 0u)) {
+    atomicExchange(arg_0, 0u);
+  }
+  barrier();
+  v.tint_symbol = atomicOr_5e3d61();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  compute_main_inner(gl_LocalInvocationIndex);
+}
diff --git a/test/tint/builtins/gen/var/atomicOr/5e95d4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/atomicOr/5e95d4.wgsl.expected.ir.glsl
index 80f3100..a0fa8f2 100644
--- a/test/tint/builtins/gen/var/atomicOr/5e95d4.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/atomicOr/5e95d4.wgsl.expected.ir.glsl
@@ -1,11 +1,49 @@
-SKIP: FAILED
+#version 310 es
+precision highp float;
+precision highp int;
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicOr
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
 
-tint executable returned error: signal: trace/BPT trap
+struct SB_RW {
+  uint arg_0;
+};
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  uint tint_symbol;
+} v;
+layout(binding = 1, std430)
+buffer tint_symbol_3_1_ssbo {
+  SB_RW tint_symbol_2;
+} v_1;
+uint atomicOr_5e95d4() {
+  uint arg_1 = 1u;
+  uint res = atomicOr(v_1.tint_symbol_2.arg_0, arg_1);
+  return res;
+}
+void main() {
+  v.tint_symbol = atomicOr_5e95d4();
+}
+#version 310 es
+
+
+struct SB_RW {
+  uint arg_0;
+};
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  uint tint_symbol;
+} v;
+layout(binding = 1, std430)
+buffer tint_symbol_3_1_ssbo {
+  SB_RW tint_symbol_2;
+} v_1;
+uint atomicOr_5e95d4() {
+  uint arg_1 = 1u;
+  uint res = atomicOr(v_1.tint_symbol_2.arg_0, arg_1);
+  return res;
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  v.tint_symbol = atomicOr_5e95d4();
+}
diff --git a/test/tint/builtins/gen/var/atomicOr/8d96a0.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/atomicOr/8d96a0.wgsl.expected.ir.glsl
index 80f3100..4c0784f 100644
--- a/test/tint/builtins/gen/var/atomicOr/8d96a0.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/atomicOr/8d96a0.wgsl.expected.ir.glsl
@@ -1,11 +1,49 @@
-SKIP: FAILED
+#version 310 es
+precision highp float;
+precision highp int;
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicOr
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
 
-tint executable returned error: signal: trace/BPT trap
+struct SB_RW {
+  int arg_0;
+};
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  int tint_symbol;
+} v;
+layout(binding = 1, std430)
+buffer tint_symbol_3_1_ssbo {
+  SB_RW tint_symbol_2;
+} v_1;
+int atomicOr_8d96a0() {
+  int arg_1 = 1;
+  int res = atomicOr(v_1.tint_symbol_2.arg_0, arg_1);
+  return res;
+}
+void main() {
+  v.tint_symbol = atomicOr_8d96a0();
+}
+#version 310 es
+
+
+struct SB_RW {
+  int arg_0;
+};
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  int tint_symbol;
+} v;
+layout(binding = 1, std430)
+buffer tint_symbol_3_1_ssbo {
+  SB_RW tint_symbol_2;
+} v_1;
+int atomicOr_8d96a0() {
+  int arg_1 = 1;
+  int res = atomicOr(v_1.tint_symbol_2.arg_0, arg_1);
+  return res;
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  v.tint_symbol = atomicOr_8d96a0();
+}
diff --git a/test/tint/builtins/gen/var/atomicOr/d09248.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/atomicOr/d09248.wgsl.expected.ir.glsl
index 80f3100..8123e76 100644
--- a/test/tint/builtins/gen/var/atomicOr/d09248.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/atomicOr/d09248.wgsl.expected.ir.glsl
@@ -1,11 +1,23 @@
-SKIP: FAILED
+#version 310 es
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicOr
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
-
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  int tint_symbol;
+} v;
+shared int arg_0;
+int atomicOr_d09248() {
+  int arg_1 = 1;
+  int res = atomicOr(arg_0, arg_1);
+  return res;
+}
+void compute_main_inner(uint tint_local_index) {
+  if ((tint_local_index == 0u)) {
+    atomicExchange(arg_0, 0);
+  }
+  barrier();
+  v.tint_symbol = atomicOr_d09248();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  compute_main_inner(gl_LocalInvocationIndex);
+}
diff --git a/test/tint/builtins/gen/var/atomicStore/726882.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/atomicStore/726882.wgsl.expected.ir.glsl
index 7292d5c..3f28303 100644
--- a/test/tint/builtins/gen/var/atomicStore/726882.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/atomicStore/726882.wgsl.expected.ir.glsl
@@ -1,11 +1,18 @@
-SKIP: FAILED
+#version 310 es
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
-
-tint executable returned error: signal: trace/BPT trap
+shared uint arg_0;
+void atomicStore_726882() {
+  uint arg_1 = 1u;
+  atomicExchange(arg_0, arg_1);
+}
+void compute_main_inner(uint tint_local_index) {
+  if ((tint_local_index == 0u)) {
+    atomicExchange(arg_0, 0u);
+  }
+  barrier();
+  atomicStore_726882();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  compute_main_inner(gl_LocalInvocationIndex);
+}
diff --git a/test/tint/builtins/gen/var/atomicStore/8bea94.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/atomicStore/8bea94.wgsl.expected.ir.glsl
index 7292d5c..ab33d08 100644
--- a/test/tint/builtins/gen/var/atomicStore/8bea94.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/atomicStore/8bea94.wgsl.expected.ir.glsl
@@ -1,11 +1,18 @@
-SKIP: FAILED
+#version 310 es
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
-
-tint executable returned error: signal: trace/BPT trap
+shared int arg_0;
+void atomicStore_8bea94() {
+  int arg_1 = 1;
+  atomicExchange(arg_0, arg_1);
+}
+void compute_main_inner(uint tint_local_index) {
+  if ((tint_local_index == 0u)) {
+    atomicExchange(arg_0, 0);
+  }
+  barrier();
+  atomicStore_8bea94();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  compute_main_inner(gl_LocalInvocationIndex);
+}
diff --git a/test/tint/builtins/gen/var/atomicStore/cdc29e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/atomicStore/cdc29e.wgsl.expected.ir.glsl
index 7292d5c..1c13e90 100644
--- a/test/tint/builtins/gen/var/atomicStore/cdc29e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/atomicStore/cdc29e.wgsl.expected.ir.glsl
@@ -1,11 +1,39 @@
-SKIP: FAILED
+#version 310 es
+precision highp float;
+precision highp int;
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
 
-tint executable returned error: signal: trace/BPT trap
+struct SB_RW {
+  uint arg_0;
+};
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  SB_RW tint_symbol;
+} v;
+void atomicStore_cdc29e() {
+  uint arg_1 = 1u;
+  atomicExchange(v.tint_symbol.arg_0, arg_1);
+}
+void main() {
+  atomicStore_cdc29e();
+}
+#version 310 es
+
+
+struct SB_RW {
+  uint arg_0;
+};
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  SB_RW tint_symbol;
+} v;
+void atomicStore_cdc29e() {
+  uint arg_1 = 1u;
+  atomicExchange(v.tint_symbol.arg_0, arg_1);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  atomicStore_cdc29e();
+}
diff --git a/test/tint/builtins/gen/var/atomicStore/d1e9a6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/atomicStore/d1e9a6.wgsl.expected.ir.glsl
index 7292d5c..8a8e7d2 100644
--- a/test/tint/builtins/gen/var/atomicStore/d1e9a6.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/atomicStore/d1e9a6.wgsl.expected.ir.glsl
@@ -1,11 +1,39 @@
-SKIP: FAILED
+#version 310 es
+precision highp float;
+precision highp int;
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
 
-tint executable returned error: signal: trace/BPT trap
+struct SB_RW {
+  int arg_0;
+};
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  SB_RW tint_symbol;
+} v;
+void atomicStore_d1e9a6() {
+  int arg_1 = 1;
+  atomicExchange(v.tint_symbol.arg_0, arg_1);
+}
+void main() {
+  atomicStore_d1e9a6();
+}
+#version 310 es
+
+
+struct SB_RW {
+  int arg_0;
+};
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  SB_RW tint_symbol;
+} v;
+void atomicStore_d1e9a6() {
+  int arg_1 = 1;
+  atomicExchange(v.tint_symbol.arg_0, arg_1);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  atomicStore_d1e9a6();
+}
diff --git a/test/tint/builtins/gen/var/atomicXor/54510e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/atomicXor/54510e.wgsl.expected.ir.glsl
index 452ca52..b18b323 100644
--- a/test/tint/builtins/gen/var/atomicXor/54510e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/atomicXor/54510e.wgsl.expected.ir.glsl
@@ -1,11 +1,49 @@
-SKIP: FAILED
+#version 310 es
+precision highp float;
+precision highp int;
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicXor
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
 
-tint executable returned error: signal: trace/BPT trap
+struct SB_RW {
+  uint arg_0;
+};
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  uint tint_symbol;
+} v;
+layout(binding = 1, std430)
+buffer tint_symbol_3_1_ssbo {
+  SB_RW tint_symbol_2;
+} v_1;
+uint atomicXor_54510e() {
+  uint arg_1 = 1u;
+  uint res = atomicXor(v_1.tint_symbol_2.arg_0, arg_1);
+  return res;
+}
+void main() {
+  v.tint_symbol = atomicXor_54510e();
+}
+#version 310 es
+
+
+struct SB_RW {
+  uint arg_0;
+};
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  uint tint_symbol;
+} v;
+layout(binding = 1, std430)
+buffer tint_symbol_3_1_ssbo {
+  SB_RW tint_symbol_2;
+} v_1;
+uint atomicXor_54510e() {
+  uint arg_1 = 1u;
+  uint res = atomicXor(v_1.tint_symbol_2.arg_0, arg_1);
+  return res;
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  v.tint_symbol = atomicXor_54510e();
+}
diff --git a/test/tint/builtins/gen/var/atomicXor/75dc95.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/atomicXor/75dc95.wgsl.expected.ir.glsl
index 452ca52..5b8a8de 100644
--- a/test/tint/builtins/gen/var/atomicXor/75dc95.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/atomicXor/75dc95.wgsl.expected.ir.glsl
@@ -1,11 +1,23 @@
-SKIP: FAILED
+#version 310 es
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicXor
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
-
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  int tint_symbol;
+} v;
+shared int arg_0;
+int atomicXor_75dc95() {
+  int arg_1 = 1;
+  int res = atomicXor(arg_0, arg_1);
+  return res;
+}
+void compute_main_inner(uint tint_local_index) {
+  if ((tint_local_index == 0u)) {
+    atomicExchange(arg_0, 0);
+  }
+  barrier();
+  v.tint_symbol = atomicXor_75dc95();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  compute_main_inner(gl_LocalInvocationIndex);
+}
diff --git a/test/tint/builtins/gen/var/atomicXor/c1b78c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/atomicXor/c1b78c.wgsl.expected.ir.glsl
index 452ca52..bf829e0 100644
--- a/test/tint/builtins/gen/var/atomicXor/c1b78c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/atomicXor/c1b78c.wgsl.expected.ir.glsl
@@ -1,11 +1,49 @@
-SKIP: FAILED
+#version 310 es
+precision highp float;
+precision highp int;
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicXor
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
 
-tint executable returned error: signal: trace/BPT trap
+struct SB_RW {
+  int arg_0;
+};
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  int tint_symbol;
+} v;
+layout(binding = 1, std430)
+buffer tint_symbol_3_1_ssbo {
+  SB_RW tint_symbol_2;
+} v_1;
+int atomicXor_c1b78c() {
+  int arg_1 = 1;
+  int res = atomicXor(v_1.tint_symbol_2.arg_0, arg_1);
+  return res;
+}
+void main() {
+  v.tint_symbol = atomicXor_c1b78c();
+}
+#version 310 es
+
+
+struct SB_RW {
+  int arg_0;
+};
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  int tint_symbol;
+} v;
+layout(binding = 1, std430)
+buffer tint_symbol_3_1_ssbo {
+  SB_RW tint_symbol_2;
+} v_1;
+int atomicXor_c1b78c() {
+  int arg_1 = 1;
+  int res = atomicXor(v_1.tint_symbol_2.arg_0, arg_1);
+  return res;
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  v.tint_symbol = atomicXor_c1b78c();
+}
diff --git a/test/tint/builtins/gen/var/atomicXor/c8e6be.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/atomicXor/c8e6be.wgsl.expected.ir.glsl
index 452ca52..c4cbabf 100644
--- a/test/tint/builtins/gen/var/atomicXor/c8e6be.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/atomicXor/c8e6be.wgsl.expected.ir.glsl
@@ -1,11 +1,23 @@
-SKIP: FAILED
+#version 310 es
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1423 internal compiler error: TINT_UNREACHABLE unhandled core builtin: atomicXor
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
-
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  uint tint_symbol;
+} v;
+shared uint arg_0;
+uint atomicXor_c8e6be() {
+  uint arg_1 = 1u;
+  uint res = atomicXor(arg_0, arg_1);
+  return res;
+}
+void compute_main_inner(uint tint_local_index) {
+  if ((tint_local_index == 0u)) {
+    atomicExchange(arg_0, 0u);
+  }
+  barrier();
+  v.tint_symbol = atomicXor_c8e6be();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  compute_main_inner(gl_LocalInvocationIndex);
+}