Author: OCHyams Date: 2023-04-19T10:03:32+01:00 New Revision: 7674ae7231c4e286b93eb399e475765630666f8b
URL: https://github.com/llvm/llvm-project/commit/7674ae7231c4e286b93eb399e475765630666f8b DIFF: https://github.com/llvm/llvm-project/commit/7674ae7231c4e286b93eb399e475765630666f8b.diff LOG: Revert D146987 "[Assignment Tracking] Enable by default" This reverts commit 107b307bd61e51aa66ea41f1a2c92c1459b39c7e due to build errors in a parent commit fca3e8e024f0015604d21e6f76f3e199345679c5 Added: Modified: clang/include/clang/Driver/Options.td clang/test/CodeGen/assignment-tracking/flag.cpp Removed: ################################################################################ diff --git a/clang/include/clang/Driver/Options.td b/clang/include/clang/Driver/Options.td index 604b4a45fffc1..eed0d517a1ad7 100644 --- a/clang/include/clang/Driver/Options.td +++ b/clang/include/clang/Driver/Options.td @@ -5817,7 +5817,7 @@ def fexperimental_assignment_tracking_EQ : Joined<["-"], "fexperimental-assignme Group<f_Group>, CodeGenOpts<"EnableAssignmentTracking">, NormalizedValuesScope<"CodeGenOptions::AssignmentTrackingOpts">, Values<"disabled,enabled,forced">, NormalizedValues<["Disabled","Enabled","Forced"]>, - MarshallingInfoEnum<CodeGenOpts<"AssignmentTrackingMode">, "Enabled">; + MarshallingInfoEnum<CodeGenOpts<"AssignmentTrackingMode">, "Disabled">; } // let Flags = [CC1Option, NoDriverOption] diff --git a/clang/test/CodeGen/assignment-tracking/flag.cpp b/clang/test/CodeGen/assignment-tracking/flag.cpp index 3bd974fe07c6c..aa1f054dae4d7 100644 --- a/clang/test/CodeGen/assignment-tracking/flag.cpp +++ b/clang/test/CodeGen/assignment-tracking/flag.cpp @@ -8,10 +8,10 @@ // RUN: -emit-llvm %s -o - -fexperimental-assignment-tracking=disabled -O1\ // RUN: | FileCheck %s --check-prefixes=DISABLE -//// Enabled by default: +//// Disabled by default: // RUN: %clang_cc1 -triple x86_64-none-linux-gnu -debug-info-kind=standalone \ // RUN: -emit-llvm %s -o - -O1 \ -// RUN: | FileCheck %s --check-prefixes=ENABLE +// RUN: | FileCheck %s --check-prefixes=DISABLE //// Disabled at O0 unless forced. // RUN: %clang_cc1 -triple x86_64-none-linux-gnu -debug-info-kind=standalone \ _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits