From 55be63a4f7e28e2f23018502520c6dc2866fa0bf Mon Sep 17 00:00:00 2001 From: Alexey Sachkov Date: Fri, 29 Oct 2021 22:22:59 +0300 Subject: [PATCH] [sycl-post-link][NFC] Outline legacy tests (#4844) Moved a number of `sycl-post-link` LIT tests for specialization constants into a separate folder: those tests are using old RT-Compiler interface, which is only used for experimental support for spec constants in SYCL 1.2.1. That old version of spec constants depends on `program` class, which was removed from SYCL 2020 specification and from our implementation. Therefore, support for old spec constants API is not available anymore. The API itself is still supported for backward compatibility, but it will be completely erased at some point. This patch will simplify tests cleanup when backward compatibility break will be done. --- .../spec-constants/{ => DeprecatedFeautres}/composite-O0.ll | 0 .../{ => DeprecatedFeautres}/multiple-composite-usages-2.ll | 0 .../{ => DeprecatedFeautres}/multiple-composite-usages.ll | 0 .../{ => DeprecatedFeautres}/multiple-scalar-usages.ll | 0 .../{ => DeprecatedFeautres}/multiple-sym-id-usages.ll | 0 .../spec-constants/{ => DeprecatedFeautres}/scalar-O0.ll | 0 .../spec-constants/{ => DeprecatedFeautres}/scalar-O2.ll | 0 .../{ => DeprecatedFeautres}/spec_const_and_split.ll | 0 8 files changed, 0 insertions(+), 0 deletions(-) rename llvm/test/tools/sycl-post-link/spec-constants/{ => DeprecatedFeautres}/composite-O0.ll (100%) rename llvm/test/tools/sycl-post-link/spec-constants/{ => DeprecatedFeautres}/multiple-composite-usages-2.ll (100%) rename llvm/test/tools/sycl-post-link/spec-constants/{ => DeprecatedFeautres}/multiple-composite-usages.ll (100%) rename llvm/test/tools/sycl-post-link/spec-constants/{ => DeprecatedFeautres}/multiple-scalar-usages.ll (100%) rename llvm/test/tools/sycl-post-link/spec-constants/{ => DeprecatedFeautres}/multiple-sym-id-usages.ll (100%) rename llvm/test/tools/sycl-post-link/spec-constants/{ => DeprecatedFeautres}/scalar-O0.ll (100%) rename llvm/test/tools/sycl-post-link/spec-constants/{ => DeprecatedFeautres}/scalar-O2.ll (100%) rename llvm/test/tools/sycl-post-link/spec-constants/{ => DeprecatedFeautres}/spec_const_and_split.ll (100%) diff --git a/llvm/test/tools/sycl-post-link/spec-constants/composite-O0.ll b/llvm/test/tools/sycl-post-link/spec-constants/DeprecatedFeautres/composite-O0.ll similarity index 100% rename from llvm/test/tools/sycl-post-link/spec-constants/composite-O0.ll rename to llvm/test/tools/sycl-post-link/spec-constants/DeprecatedFeautres/composite-O0.ll diff --git a/llvm/test/tools/sycl-post-link/spec-constants/multiple-composite-usages-2.ll b/llvm/test/tools/sycl-post-link/spec-constants/DeprecatedFeautres/multiple-composite-usages-2.ll similarity index 100% rename from llvm/test/tools/sycl-post-link/spec-constants/multiple-composite-usages-2.ll rename to llvm/test/tools/sycl-post-link/spec-constants/DeprecatedFeautres/multiple-composite-usages-2.ll diff --git a/llvm/test/tools/sycl-post-link/spec-constants/multiple-composite-usages.ll b/llvm/test/tools/sycl-post-link/spec-constants/DeprecatedFeautres/multiple-composite-usages.ll similarity index 100% rename from llvm/test/tools/sycl-post-link/spec-constants/multiple-composite-usages.ll rename to llvm/test/tools/sycl-post-link/spec-constants/DeprecatedFeautres/multiple-composite-usages.ll diff --git a/llvm/test/tools/sycl-post-link/spec-constants/multiple-scalar-usages.ll b/llvm/test/tools/sycl-post-link/spec-constants/DeprecatedFeautres/multiple-scalar-usages.ll similarity index 100% rename from llvm/test/tools/sycl-post-link/spec-constants/multiple-scalar-usages.ll rename to llvm/test/tools/sycl-post-link/spec-constants/DeprecatedFeautres/multiple-scalar-usages.ll diff --git a/llvm/test/tools/sycl-post-link/spec-constants/multiple-sym-id-usages.ll b/llvm/test/tools/sycl-post-link/spec-constants/DeprecatedFeautres/multiple-sym-id-usages.ll similarity index 100% rename from llvm/test/tools/sycl-post-link/spec-constants/multiple-sym-id-usages.ll rename to llvm/test/tools/sycl-post-link/spec-constants/DeprecatedFeautres/multiple-sym-id-usages.ll diff --git a/llvm/test/tools/sycl-post-link/spec-constants/scalar-O0.ll b/llvm/test/tools/sycl-post-link/spec-constants/DeprecatedFeautres/scalar-O0.ll similarity index 100% rename from llvm/test/tools/sycl-post-link/spec-constants/scalar-O0.ll rename to llvm/test/tools/sycl-post-link/spec-constants/DeprecatedFeautres/scalar-O0.ll diff --git a/llvm/test/tools/sycl-post-link/spec-constants/scalar-O2.ll b/llvm/test/tools/sycl-post-link/spec-constants/DeprecatedFeautres/scalar-O2.ll similarity index 100% rename from llvm/test/tools/sycl-post-link/spec-constants/scalar-O2.ll rename to llvm/test/tools/sycl-post-link/spec-constants/DeprecatedFeautres/scalar-O2.ll diff --git a/llvm/test/tools/sycl-post-link/spec-constants/spec_const_and_split.ll b/llvm/test/tools/sycl-post-link/spec-constants/DeprecatedFeautres/spec_const_and_split.ll similarity index 100% rename from llvm/test/tools/sycl-post-link/spec-constants/spec_const_and_split.ll rename to llvm/test/tools/sycl-post-link/spec-constants/DeprecatedFeautres/spec_const_and_split.ll