Skip to content

Commit

Permalink
Update LLVM (#1410)
Browse files Browse the repository at this point in the history
Update a test back to what it was before.  I guess change
in the optimizer was reverted?
  • Loading branch information
dneto0 authored Oct 17, 2024
1 parent 419bc4b commit aae5afa
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion deps.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"subrepo" : "llvm/llvm-project",
"branch" : "main",
"subdir" : "third_party/llvm",
"commit" : "30deb76d46053c243561c6fa072c5a30407241cb"
"commit" : "1a787b3c8e71eeb333825ec4b76c7440290142e4"
},
{
"name" : "SPIRV-Headers",
Expand Down
7 changes: 4 additions & 3 deletions test/UBO/transform_global.cl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit aae5afa

Please sign in to comment.