File tree Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -250,6 +250,11 @@ place. No new tests should use these features:
250250* **gpu-intel-pvc** - Intel GPU PVC availability;
251251* **gpu-intel-pvc-vg** - Intel GPU PVC-VG availability;
252252
253+ ### Use the LLVM SPIR-V Backend to generate SPIR-V code
254+ It' s possible to use the LLVM SPIR-V Backend instead of the ` llvm-spirv` tool
255+ to convert LLVM IR to SPIR-V. This feature must be set manually by passing the
256+ ` spirv-backend` parameter to ` llvm-lit` .
257+
253258# ## llvm-lit parameters
254259
255260Following options can be passed to llvm-lit tool through --param option to
Original file line number Diff line number Diff line change @@ -225,6 +225,8 @@ def check_igc_tag_and_add_feature():
225225if lit_config .params .get ("enable-perf-tests" , False ):
226226 config .available_features .add ("enable-perf-tests" )
227227
228+ if lit_config .params .get ("spirv-backend" , False ):
229+ config .available_features .add ("spirv-backend" )
228230
229231# Use this to make sure that any dynamic checks below are done in the build
230232# directory and not where the sources are located. This is important for the
You can’t perform that action at this time.
0 commit comments