Skip to content

Commit 0318eaf

Browse files
maksimsabjsji
authored andcommitted
[Clang] Build failure resolution with SPV_INTEL_long_composites renaming.
SPV_INTEL_long_constants_composite has been renamed to SPV_INTEL_long_composites in SPIRV translator. This patch adjusts to it.
1 parent e205fc8 commit 0318eaf

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

clang/lib/Driver/ToolChains/Clang.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10810,7 +10810,7 @@ static void getTripleBasedSPIRVTransOpts(Compilation &C,
1081010810
",+SPV_INTEL_arbitrary_precision_fixed_point"
1081110811
",+SPV_INTEL_arbitrary_precision_floating_point"
1081210812
",+SPV_INTEL_variable_length_array,+SPV_INTEL_fp_fast_math_mode"
10813-
",+SPV_INTEL_long_constant_composite"
10813+
",+SPV_INTEL_long_composites"
1081410814
",+SPV_INTEL_arithmetic_fence"
1081510815
",+SPV_INTEL_global_variable_decorations"
1081610816
",+SPV_INTEL_cache_controls"

clang/test/Driver/sycl-spirv-ext-old-model.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
// CHECK-DEFAULT-SAME:,+SPV_INTEL_arbitrary_precision_fixed_point
2727
// CHECK-DEFAULT-SAME:,+SPV_INTEL_arbitrary_precision_floating_point
2828
// CHECK-DEFAULT-SAME:,+SPV_INTEL_variable_length_array,+SPV_INTEL_fp_fast_math_mode
29-
// CHECK-DEFAULT-SAME:,+SPV_INTEL_long_constant_composite
29+
// CHECK-DEFAULT-SAME:,+SPV_INTEL_long_composites
3030
// CHECK-DEFAULT-SAME:,+SPV_INTEL_arithmetic_fence
3131
// CHECK-DEFAULT-SAME:,+SPV_INTEL_cache_controls
3232
// CHECK-DEFAULT-SAME:,+SPV_INTEL_fpga_buffer_location
@@ -65,7 +65,7 @@
6565
// CHECK-CPU-SAME:,+SPV_INTEL_arbitrary_precision_fixed_point
6666
// CHECK-CPU-SAME:,+SPV_INTEL_arbitrary_precision_floating_point
6767
// CHECK-CPU-SAME:,+SPV_INTEL_variable_length_array,+SPV_INTEL_fp_fast_math_mode
68-
// CHECK-CPU-SAME:,+SPV_INTEL_long_constant_composite
68+
// CHECK-CPU-SAME:,+SPV_INTEL_long_composite
6969
// CHECK-CPU-SAME:,+SPV_INTEL_arithmetic_fence
7070
// CHECK-CPU-SAME:,+SPV_INTEL_cache_controls
7171
// CHECK-CPU-SAME:,+SPV_INTEL_fpga_buffer_location

clang/test/Driver/sycl-spirv-ext.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
// CHECK-DEFAULT-SAME:,+SPV_INTEL_arbitrary_precision_fixed_point
4444
// CHECK-DEFAULT-SAME:,+SPV_INTEL_arbitrary_precision_floating_point
4545
// CHECK-DEFAULT-SAME:,+SPV_INTEL_variable_length_array,+SPV_INTEL_fp_fast_math_mode
46-
// CHECK-DEFAULT-SAME:,+SPV_INTEL_long_constant_composite
46+
// CHECK-DEFAULT-SAME:,+SPV_INTEL_composites
4747
// CHECK-DEFAULT-SAME:,+SPV_INTEL_arithmetic_fence
4848
// CHECK-DEFAULT-SAME:,+SPV_INTEL_cache_controls
4949
// CHECK-DEFAULT-SAME:,+SPV_INTEL_fpga_buffer_location
@@ -82,7 +82,7 @@
8282
// CHECK-CPU-SAME:,+SPV_INTEL_arbitrary_precision_fixed_point
8383
// CHECK-CPU-SAME:,+SPV_INTEL_arbitrary_precision_floating_point
8484
// CHECK-CPU-SAME:,+SPV_INTEL_variable_length_array,+SPV_INTEL_fp_fast_math_mode
85-
// CHECK-CPU-SAME:,+SPV_INTEL_long_constant_composite
85+
// CHECK-CPU-SAME:,+SPV_INTEL_long_composites
8686
// CHECK-CPU-SAME:,+SPV_INTEL_arithmetic_fence
8787
// CHECK-CPU-SAME:,+SPV_INTEL_cache_controls
8888
// CHECK-CPU-SAME:,+SPV_INTEL_fpga_buffer_location

clang/tools/clang-linker-wrapper/ClangLinkerWrapper.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -853,7 +853,7 @@ getTripleBasedSPIRVTransOpts(const ArgList &Args,
853853
",+SPV_INTEL_arbitrary_precision_fixed_point"
854854
",+SPV_INTEL_arbitrary_precision_floating_point"
855855
",+SPV_INTEL_variable_length_array,+SPV_INTEL_fp_fast_math_mode"
856-
",+SPV_INTEL_long_constant_composite"
856+
",+SPV_INTEL_long_composite"
857857
",+SPV_INTEL_arithmetic_fence"
858858
",+SPV_INTEL_global_variable_decorations"
859859
",+SPV_INTEL_cache_controls"

clang/tools/clang-sycl-linker/ClangSYCLLinker.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ static void getSPIRVTransOpts(const ArgList &Args,
345345
",+SPV_INTEL_arbitrary_precision_fixed_point"
346346
",+SPV_INTEL_arbitrary_precision_floating_point"
347347
",+SPV_INTEL_variable_length_array,+SPV_INTEL_fp_fast_math_mode"
348-
",+SPV_INTEL_long_constant_composite"
348+
",+SPV_INTEL_long_composites"
349349
",+SPV_INTEL_arithmetic_fence"
350350
",+SPV_INTEL_global_variable_decorations"
351351
",+SPV_INTEL_cache_controls"

0 commit comments

Comments
 (0)