diff --git a/deps.json b/deps.json index 00e6e907c..e5573f23c 100644 --- a/deps.json +++ b/deps.json @@ -6,7 +6,7 @@ "subrepo" : "llvm/llvm-project", "branch" : "main", "subdir" : "third_party/llvm", - "commit" : "30deb76d46053c243561c6fa072c5a30407241cb" + "commit" : "1a787b3c8e71eeb333825ec4b76c7440290142e4" }, { "name" : "SPIRV-Headers", diff --git a/test/UBO/transform_global.cl b/test/UBO/transform_global.cl index b96870374..3851c91df 100644 --- a/test/UBO/transform_global.cl +++ b/test/UBO/transform_global.cl @@ -54,10 +54,11 @@ __kernel void foo(__global data_type *data, __constant data_type *c_arg, // CHECK-DAG: [[c_var_ptr:%[0-9a-zA-Z_]+]] = OpTypePointer Private [[array]] // CHECK-DAG: [[c_var_ele_ptr:%[0-9a-zA-Z_]+]] = OpTypePointer Private [[int]] // CHECK-DAG: [[zero:%[0-9a-zA-Z_]+]] = OpConstant [[int]] 0 -// CHECK-DAG: [[zero_zero:%[0-9a-zA-Z_]+]] = OpConstantNull [[data_type]] +// CHECK-DAG: [[undef:%[0-9a-zA-Z_]+]] = OpUndef [[int]] +// CHECK-DAG: [[zero_undef:%[0-9a-zA-Z_]+]] = OpConstantComposite [[data_type]] [[zero]] [[undef]] // CHECK-DAG: [[one:%[0-9a-zA-Z_]+]] = OpConstant [[int]] 1 -// CHECK-DAG: [[one_zero:%[0-9a-zA-Z_]+]] = OpConstantComposite [[data_type]] [[one]] [[zero]] -// CHECK-DAG: [[array_const:%[0-9a-zA-Z_]+]] = OpConstantComposite [[array]] [[zero_zero]] [[one_zero]] +// CHECK-DAG: [[one_undef:%[0-9a-zA-Z_]+]] = OpConstantComposite [[data_type]] [[one]] [[undef]] +// CHECK-DAG: [[array_const:%[0-9a-zA-Z_]+]] = OpConstantComposite [[array]] [[zero_undef]] [[one_undef]] // CHECK-DAG: [[c_var:%[0-9a-zA-Z_]+]] = OpVariable [[c_var_ptr]] Private [[array_const]] // CHECK-DAG: [[data]] = OpVariable [[data_ptr]] StorageBuffer // CHECK: [[c_arg]] = OpVariable [[c_arg_ptr]] Uniform