From 918f51e74453031fb9c3b6242694edd6c3515a47 Mon Sep 17 00:00:00 2001 From: Artem Gindinson Date: Tue, 7 Sep 2021 18:54:23 +0300 Subject: [PATCH] [SYCL][NFC] Update comment on default code split behavior Since `auto` value introduction for `-fsycl-device-code-split` in commit 184d258b902aaf28bbc7b9c787ac4ed082640610 (#2827), it stands as the default code split mechanism. Signed-off-by: Artem Gindinson --- clang/lib/Driver/Driver.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clang/lib/Driver/Driver.cpp b/clang/lib/Driver/Driver.cpp index 2c36bb18f7071..79f228f195636 100644 --- a/clang/lib/Driver/Driver.cpp +++ b/clang/lib/Driver/Driver.cpp @@ -4768,7 +4768,7 @@ class OffloadingActionBuilder final { auto *DeviceCodeSplitArg = Args.getLastArg(options::OPT_fsycl_device_code_split_EQ); // -fsycl-device-code-split is an alias to - // -fsycl-device-code-split=per_source + // -fsycl-device-code-split=auto DeviceCodeSplit = DeviceCodeSplitArg && DeviceCodeSplitArg->getValue() != StringRef("off"); // Gather information about the SYCL Ahead of Time targets. The targets