This revision was landed with ongoing or failed builds. This revision was automatically updated to reflect the committed changes. Closed by commit rGb5ac3721c8a4: [VE] Change to use integrated assembly by defualt (authored by kaz7).
Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D90396/new/ https://reviews.llvm.org/D90396 Files: clang/lib/Driver/ToolChains/VEToolchain.h clang/test/Driver/ve-toolchain.c Index: clang/test/Driver/ve-toolchain.c =================================================================== --- clang/test/Driver/ve-toolchain.c +++ clang/test/Driver/ve-toolchain.c @@ -71,12 +71,12 @@ /// Passing -fintegrated-as // RUN: %clang -### -target ve -x assembler %s 2>&1 | \ -// RUN: FileCheck -check-prefix=NAS_LINK %s -// RUN: %clang -### -target ve -fintegrated-as -x assembler %s 2>&1 | \ // RUN: FileCheck -check-prefix=AS_LINK %s - -// NAS_LINK: nas{{.*}} -// NAS_LINK: nld{{.*}} +// RUN: %clang -### -target ve -fno-integrated-as -x assembler %s 2>&1 | \ +// RUN: FileCheck -check-prefix=NAS_LINK %s // AS_LINK: clang{{.*}} "-cc1as" // AS_LINK: nld{{.*}} + +// NAS_LINK: nas{{.*}} +// NAS_LINK: nld{{.*}} Index: clang/lib/Driver/ToolChains/VEToolchain.h =================================================================== --- clang/lib/Driver/ToolChains/VEToolchain.h +++ clang/lib/Driver/ToolChains/VEToolchain.h @@ -26,6 +26,7 @@ Tool *buildLinker() const override; public: + bool IsIntegratedAssemblerDefault() const override { return true; } bool isPICDefault() const override; bool isPIEDefault() const override; bool isPICDefaultForced() const override;
Index: clang/test/Driver/ve-toolchain.c =================================================================== --- clang/test/Driver/ve-toolchain.c +++ clang/test/Driver/ve-toolchain.c @@ -71,12 +71,12 @@ /// Passing -fintegrated-as // RUN: %clang -### -target ve -x assembler %s 2>&1 | \ -// RUN: FileCheck -check-prefix=NAS_LINK %s -// RUN: %clang -### -target ve -fintegrated-as -x assembler %s 2>&1 | \ // RUN: FileCheck -check-prefix=AS_LINK %s - -// NAS_LINK: nas{{.*}} -// NAS_LINK: nld{{.*}} +// RUN: %clang -### -target ve -fno-integrated-as -x assembler %s 2>&1 | \ +// RUN: FileCheck -check-prefix=NAS_LINK %s // AS_LINK: clang{{.*}} "-cc1as" // AS_LINK: nld{{.*}} + +// NAS_LINK: nas{{.*}} +// NAS_LINK: nld{{.*}} Index: clang/lib/Driver/ToolChains/VEToolchain.h =================================================================== --- clang/lib/Driver/ToolChains/VEToolchain.h +++ clang/lib/Driver/ToolChains/VEToolchain.h @@ -26,6 +26,7 @@ Tool *buildLinker() const override; public: + bool IsIntegratedAssemblerDefault() const override { return true; } bool isPICDefault() const override; bool isPIEDefault() const override; bool isPICDefaultForced() const override;
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits