[clang] 9e7f14a - Revert "Reapply D146987 "[Assignment Tracking] Enable by default""
Fangrui Song via cfe-commits
cfe-commits at lists.llvm.org
Mon May 22 08:53:20 PDT 2023
Author: Fangrui Song
Date: 2023-05-22T08:53:15-07:00
New Revision: 9e7f14a8211c82dca64bd6b22d1c450d4c6d3e5b
URL: https://github.com/llvm/llvm-project/commit/9e7f14a8211c82dca64bd6b22d1c450d4c6d3e5b
DIFF: https://github.com/llvm/llvm-project/commit/9e7f14a8211c82dca64bd6b22d1c450d4c6d3e5b.diff
LOG: Revert "Reapply D146987 "[Assignment Tracking] Enable by default""
This reverts commit 8dec295af0352fccb5825dc08e4ec21cb9ffe010.
See https://github.com/llvm/llvm-project/issues/62838
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 c7dd34b372358..aae26398b23b0 100644
--- a/clang/include/clang/Driver/Options.td
+++ b/clang/include/clang/Driver/Options.td
@@ -5832,7 +5832,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 \
More information about the cfe-commits
mailing list