Skip to content

Conversation

@SLTozer
Copy link
Contributor

@SLTozer SLTozer commented Jan 28, 2025

This patch contains a number of changes relating to the above flag; primarily it updates comment references to the old flag names, "-fextend-lifetimes" and "-fextend-this-ptr" to refer to the new names, "-fextend-variable-liveness[={all,this}]". These changes are all NFC.

This patch also removes the explicit -fextend-this-ptr-liveness flag alias, and shortens the help-text for the main flag; these are both changes that were meant to be applied in the initial PR (#110000), but due to some user-error on my part they were not included in the merged commit.

…-liveness

This patch contains a number of changes relating to the above flag;
primarily it updates references to the old flag names, "-fextend-lifetimes"
and "-fextend-this-ptr" to refer to the new names. These changes are all NFC.

This patch also removes the explicit -fextend-this-ptr-liveness flag alias,
and shortens the help-text for the main flag; these are both changes that
were meant to be applied in the initial review (llvm#110000), but due to some
user-error on my part they were not included in the merged commit.
@SLTozer SLTozer self-assigned this Jan 28, 2025
@llvmbot llvmbot added clang Clang issues not falling into any other category backend:X86 clang:driver 'clang' and 'clang++' user-facing binaries. Not 'clang-cl' clang:codegen IR generation bugs: mangling, exceptions, etc. debuginfo llvm:transforms labels Jan 28, 2025
@llvmbot
Copy link
Member

llvmbot commented Jan 28, 2025

@llvm/pr-subscribers-debuginfo
@llvm/pr-subscribers-clang-codegen

@llvm/pr-subscribers-clang

Author: Stephen Tozer (SLTozer)

Changes

This patch contains a number of changes relating to the above flag; primarily it updates comment references to the old flag names, "-fextend-lifetimes" and "-fextend-this-ptr" to refer to the new names, "-fextend-variable-liveness[={all,this}]". These changes are all NFC.

This patch also removes the explicit -fextend-this-ptr-liveness flag alias, and shortens the help-text for the main flag; these are both changes that were meant to be applied in the initial PR (#110000), but due to some user-error on my part they were not included in the merged commit.


Full diff: https://github.com/llvm/llvm-project/pull/124767.diff

14 Files Affected:

  • (modified) clang/docs/ReleaseNotes.rst (+8-8)
  • (modified) clang/include/clang/Driver/Options.td (+1-9)
  • (modified) clang/lib/CodeGen/CGDecl.cpp (+1-1)
  • (modified) clang/lib/CodeGen/CodeGenFunction.h (+2-2)
  • (modified) clang/test/CodeGen/fake-use-sanitizer.cpp (+1-1)
  • (modified) clang/test/CodeGen/fake-use-this.cpp (+1-1)
  • (modified) clang/test/Driver/extend-variable-liveness.c (-1)
  • (modified) llvm/test/CodeGen/MIR/X86/fake-use-tailcall.mir (+1-1)
  • (modified) llvm/test/CodeGen/X86/fake-use-simple-tail-call.ll (+1-1)
  • (modified) llvm/test/CodeGen/X86/fake-use-zero-length.ll (+1-1)
  • (modified) llvm/test/DebugInfo/AArch64/fake-use-global-isel.ll (+1-1)
  • (modified) llvm/test/DebugInfo/X86/fake-use.ll (+1-1)
  • (modified) llvm/test/Transforms/CodeGenPrepare/X86/fake-use-split-ret.ll (+1-1)
  • (modified) llvm/test/Transforms/GVN/fake-use-constprop.ll (+1-1)
diff --git a/clang/docs/ReleaseNotes.rst b/clang/docs/ReleaseNotes.rst
index c5a5da5daf8f5e..cf694310c79f62 100644
--- a/clang/docs/ReleaseNotes.rst
+++ b/clang/docs/ReleaseNotes.rst
@@ -525,14 +525,14 @@ New Compiler Flags
   through optimizations, meaning that variables will typically be visible in a
   debugger more often. The flag has two levels: ``-fextend-variable-liveness``,
   or ``-fextend-variable-liveness=all``, extendes the liveness of all user
-  variables and the ``this`` pointer. Alternatively ``-fextend-this-ptr``, or
-  ``-fextend-variable-liveness=this``, has the same behaviour but applies only
-  to the ``this`` variable in C++ class member functions, meaning its effect is
-  a strict subset of ``-fextend-variable-liveness``. Note that this flag
-  modifies the results of optimizations that Clang performs, which will result
-  in reduced performance in generated code; however, this feature will not
-  extend the liveness of some variables in cases where doing so would likely
-  have a severe impact on generated code performance.
+  variables and the ``this`` pointer. Alternatively
+  ``-fextend-variable-liveness=this`` has the same behaviour but applies only to
+  the ``this`` variable in C++ class member functions, meaning its effect is a
+  strict subset of ``-fextend-variable-liveness``. Note that this flag modifies
+  the results of optimizations that Clang performs, which will result in reduced
+  performance in generated code; however, this feature will not extend the
+  liveness of some variables in cases where doing so would likely have a severe
+  impact on generated code performance.
 
 - The ``-Warray-compare`` warning has been added to warn about array comparison
   on versions older than C++20.
diff --git a/clang/include/clang/Driver/Options.td b/clang/include/clang/Driver/Options.td
index 6fa8a8273aca34..2bf687895db294 100644
--- a/clang/include/clang/Driver/Options.td
+++ b/clang/include/clang/Driver/Options.td
@@ -4352,19 +4352,11 @@ def stack_usage_file : Separate<["-"], "stack-usage-file">,
 def fextend_variable_liveness_EQ : Joined<["-"], "fextend-variable-liveness=">,
   Group<f_Group>, Visibility<[ClangOption, CC1Option]>,
   HelpText<"Extend the liveness of user variables through optimizations to "
-           "prevent stale or optimized-out variable values when debugging. Can "
-           "be applied to all user variables, or just to the C++ 'this' ptr. "
-           "May choose not to extend the liveness of some variables, such as "
-           "non-scalars larger than 4 unsigned ints, or variables in any "
-           "inlined functions.">,
+           "prevent stale or optimized-out variable values when debugging."
   Values<"all,this,none">,
   NormalizedValues<["All", "This", "None"]>,
   NormalizedValuesScope<"CodeGenOptions::ExtendVariableLivenessKind">,
   MarshallingInfoEnum<CodeGenOpts<"ExtendVariableLiveness">, "None">;
-def fextend_this_ptr_liveness : Flag<["-"], "fextend-this-ptr-liveness">,
-  Visibility<[ClangOption, CC1Option]>,
-  Alias<fextend_variable_liveness_EQ>, AliasArgs<["this"]>,
-  HelpText<"Alias for -fextend-variable-liveness=this.">;
 def fextend_variable_liveness : Flag<["-"], "fextend-variable-liveness">,
   Visibility<[ClangOption, CC1Option]>,
   Alias<fextend_variable_liveness_EQ>, AliasArgs<["all"]>,
diff --git a/clang/lib/CodeGen/CGDecl.cpp b/clang/lib/CodeGen/CGDecl.cpp
index e0d2048262f8f1..747e420d031b6f 100644
--- a/clang/lib/CodeGen/CGDecl.cpp
+++ b/clang/lib/CodeGen/CGDecl.cpp
@@ -1423,7 +1423,7 @@ void CodeGenFunction::EmitAndRegisterVariableArrayDimensions(
 }
 
 /// Return the maximum size of an aggregate for which we generate a fake use
-/// intrinsic when -fextend-lifetimes is in effect.
+/// intrinsic when -fextend-variable-liveness is in effect.
 static uint64_t maxFakeUseAggregateSize(const ASTContext &C) {
   return 4 * C.getTypeSize(C.UnsignedIntTy);
 }
diff --git a/clang/lib/CodeGen/CodeGenFunction.h b/clang/lib/CodeGen/CodeGenFunction.h
index 60f16a364d90d1..e978cad4336238 100644
--- a/clang/lib/CodeGen/CodeGenFunction.h
+++ b/clang/lib/CodeGen/CodeGenFunction.h
@@ -724,8 +724,8 @@ class CodeGenFunction : public CodeGenTypeCache {
   };
 
   // We are using objects of this 'cleanup' class to emit fake.use calls
-  // for -fextend-lifetimes and -fextend-this-ptr. They are placed at the end of
-  // a variable's scope analogous to lifetime markers.
+  // for -fextend-variable-liveness. They are placed at the end of a variable's
+  // scope analogous to lifetime markers.
   class FakeUse final : public EHScopeStack::Cleanup {
     Address Addr;
 
diff --git a/clang/test/CodeGen/fake-use-sanitizer.cpp b/clang/test/CodeGen/fake-use-sanitizer.cpp
index d544bf85d2d9e4..e808c645b9c60f 100644
--- a/clang/test/CodeGen/fake-use-sanitizer.cpp
+++ b/clang/test/CodeGen/fake-use-sanitizer.cpp
@@ -1,7 +1,7 @@
 // RUN: %clang_cc1 %s -triple x86_64-unknown-linux-gnu -emit-llvm -fextend-variable-liveness -fsanitize=null -fsanitize-trap=null -o - | FileCheck --check-prefixes=CHECK,NULL --implicit-check-not=ubsantrap %s
 // RUN: %clang_cc1 %s -triple x86_64-unknown-linux-gnu -emit-llvm -fextend-variable-liveness -o - | FileCheck %s
 
-// With -fextend-lifetimes, the compiler previously generated a fake.use of any
+// With -fextend-variable-liveness, the compiler previously generated a fake.use of any
 // reference variable at the end of the scope in which its alloca exists. This
 // caused two issues, where we would get fake uses for uninitialized variables
 // if that variable was declared after an early-return, and UBSan's null checks
diff --git a/clang/test/CodeGen/fake-use-this.cpp b/clang/test/CodeGen/fake-use-this.cpp
index 2c49694b2cd4fd..c1725d88c7176a 100644
--- a/clang/test/CodeGen/fake-use-this.cpp
+++ b/clang/test/CodeGen/fake-use-this.cpp
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 %s -emit-llvm -fextend-this-ptr-liveness -o - | FileCheck %s --implicit-check-not=fake.use
+// RUN: %clang_cc1 %s -emit-llvm -fextend-variable-liveness=this -o - | FileCheck %s --implicit-check-not=fake.use
 // Check that we generate a fake_use call with the 'this' pointer as argument,
 // and no other fake uses.
 // The call should appear after the call to bar().
diff --git a/clang/test/Driver/extend-variable-liveness.c b/clang/test/Driver/extend-variable-liveness.c
index bdd89d6f7721ce..bbfb2ece6f297e 100644
--- a/clang/test/Driver/extend-variable-liveness.c
+++ b/clang/test/Driver/extend-variable-liveness.c
@@ -4,7 +4,6 @@
 // RUN: %clang -### -c %s 2>&1 | FileCheck %s --check-prefixes=CHECK,DEFAULT
 // RUN: %clang -fextend-variable-liveness=none -### -c %s 2>&1 | FileCheck %s --check-prefixes=CHECK,NONE
 // RUN: %clang -fextend-variable-liveness=this -### -c %s 2>&1 | FileCheck %s --check-prefixes=CHECK,THIS
-// RUN: %clang -fextend-this-ptr-liveness -### -c %s 2>&1 | FileCheck %s --check-prefixes=CHECK,THIS
 // RUN: %clang -fextend-variable-liveness=all -### -c %s 2>&1 | FileCheck %s --check-prefixes=CHECK,ALL
 // RUN: %clang -fextend-variable-liveness -### -c %s 2>&1 | FileCheck %s --check-prefixes=CHECK,ALL
 
diff --git a/llvm/test/CodeGen/MIR/X86/fake-use-tailcall.mir b/llvm/test/CodeGen/MIR/X86/fake-use-tailcall.mir
index 6c2cb0e55222b2..3b833ae73551ab 100644
--- a/llvm/test/CodeGen/MIR/X86/fake-use-tailcall.mir
+++ b/llvm/test/CodeGen/MIR/X86/fake-use-tailcall.mir
@@ -8,7 +8,7 @@
 # in the return block itself into the predecessor blocks. This test enures that we do so.
 #
 # Generated from the following source with
-# clang -fextend-lifetimes -S -emit-llvm -O2 -mllvm -stop-before=codegenprepare -o test.mir test.c
+# clang -fextend-variable-liveness -S -emit-llvm -O2 -mllvm -stop-before=codegenprepare -o test.mir test.c
 #
 # extern int f0();
 # extern int f1();
diff --git a/llvm/test/CodeGen/X86/fake-use-simple-tail-call.ll b/llvm/test/CodeGen/X86/fake-use-simple-tail-call.ll
index 45a210ef391009..fb01da9f12c8b4 100644
--- a/llvm/test/CodeGen/X86/fake-use-simple-tail-call.ll
+++ b/llvm/test/CodeGen/X86/fake-use-simple-tail-call.ll
@@ -1,6 +1,6 @@
 ; RUN: llc < %s -mtriple=x86_64-unknown-unknown -O2 -o - \
 ; RUN:   | FileCheck %s --implicit-check-not=TAILCALL
-; Generated with: clang -emit-llvm -O2 -S -fextend-lifetimes test.cpp -o -
+; Generated with: clang -emit-llvm -O2 -S -fextend-variable-liveness test.cpp -o -
 ; =========== test.cpp ===============
 ; extern int bar(int);
 ; int foo1(int i)
diff --git a/llvm/test/CodeGen/X86/fake-use-zero-length.ll b/llvm/test/CodeGen/X86/fake-use-zero-length.ll
index e3bdd2659dd913..71cb1029dcad65 100644
--- a/llvm/test/CodeGen/X86/fake-use-zero-length.ll
+++ b/llvm/test/CodeGen/X86/fake-use-zero-length.ll
@@ -4,7 +4,7 @@
 ; and structs. Check also that they are not propagated.
 ;
 ; Generated from the following source with
-; clang -fextend-lifetimes -S -emit-llvm -O2 -mllvm -stop-after=safe-stack -o test.mir test.cpp
+; clang -fextend-variable-liveness -S -emit-llvm -O2 -mllvm -stop-after=safe-stack -o test.mir test.cpp
 ;
 ; int main ()
 ; { int array[0]; }
diff --git a/llvm/test/DebugInfo/AArch64/fake-use-global-isel.ll b/llvm/test/DebugInfo/AArch64/fake-use-global-isel.ll
index 65a64583096959..2339b067c71e4f 100644
--- a/llvm/test/DebugInfo/AArch64/fake-use-global-isel.ll
+++ b/llvm/test/DebugInfo/AArch64/fake-use-global-isel.ll
@@ -12,7 +12,7 @@
 ; RUN: not %python %p/../Inputs/check-fake-use.py %t
 
 ; Generated with:
-; clang -O2 -g -S -emit-llvm -fextend-this-ptr fake-use.c
+; clang -O2 -g -S -emit-llvm -fextend-variable-liveness=this fake-use.c
 ;
 ; int glob[10];
 ; extern void bar();
diff --git a/llvm/test/DebugInfo/X86/fake-use.ll b/llvm/test/DebugInfo/X86/fake-use.ll
index 5ac5104a167118..0f24ab40ba9ad0 100644
--- a/llvm/test/DebugInfo/X86/fake-use.ll
+++ b/llvm/test/DebugInfo/X86/fake-use.ll
@@ -9,7 +9,7 @@
 ; RUN: not %python %p/../Inputs/check-fake-use.py %t
 
 ; Generated with:
-; clang -O2 -g -S -emit-llvm -fextend-this-ptr fake-use.c
+; clang -O2 -g -S -emit-llvm -fextend-variable-liveness=this fake-use.c
 ;
 ; int glob[10];
 ; extern void bar();
diff --git a/llvm/test/Transforms/CodeGenPrepare/X86/fake-use-split-ret.ll b/llvm/test/Transforms/CodeGenPrepare/X86/fake-use-split-ret.ll
index b2cf89f6f2dd82..9f356b5e3cb427 100644
--- a/llvm/test/Transforms/CodeGenPrepare/X86/fake-use-split-ret.ll
+++ b/llvm/test/Transforms/CodeGenPrepare/X86/fake-use-split-ret.ll
@@ -2,7 +2,7 @@
 ;
 ; Ensure return instruction splitting ignores fake uses.
 ;
-; IR Generated with clang -O2 -S -emit-llvm -fextend-lifetimes test.cpp
+; IR Generated with clang -O2 -S -emit-llvm -fextend-variable-liveness test.cpp
 ;
 ;// test.cpp
 ;extern int bar(int);
diff --git a/llvm/test/Transforms/GVN/fake-use-constprop.ll b/llvm/test/Transforms/GVN/fake-use-constprop.ll
index 1466f9f9fca277..0e7ca101a2524a 100644
--- a/llvm/test/Transforms/GVN/fake-use-constprop.ll
+++ b/llvm/test/Transforms/GVN/fake-use-constprop.ll
@@ -7,7 +7,7 @@
 ; with respect to keeping the variable live up until the fake.use.
 ; This test checks that we don't generate any fake.uses with constant 0.
 ;
-; Reduced from the following test case, generated with clang -O2 -S -emit-llvm -fextend-lifetimes test.c
+; Reduced from the following test case, generated with clang -O2 -S -emit-llvm -fextend-variable-liveness test.c
 ;
 ; extern void func1();
 ; extern int bar();

@llvmbot
Copy link
Member

llvmbot commented Jan 28, 2025

@llvm/pr-subscribers-clang-driver

Author: Stephen Tozer (SLTozer)

Changes

This patch contains a number of changes relating to the above flag; primarily it updates comment references to the old flag names, "-fextend-lifetimes" and "-fextend-this-ptr" to refer to the new names, "-fextend-variable-liveness[={all,this}]". These changes are all NFC.

This patch also removes the explicit -fextend-this-ptr-liveness flag alias, and shortens the help-text for the main flag; these are both changes that were meant to be applied in the initial PR (#110000), but due to some user-error on my part they were not included in the merged commit.


Full diff: https://github.com/llvm/llvm-project/pull/124767.diff

14 Files Affected:

  • (modified) clang/docs/ReleaseNotes.rst (+8-8)
  • (modified) clang/include/clang/Driver/Options.td (+1-9)
  • (modified) clang/lib/CodeGen/CGDecl.cpp (+1-1)
  • (modified) clang/lib/CodeGen/CodeGenFunction.h (+2-2)
  • (modified) clang/test/CodeGen/fake-use-sanitizer.cpp (+1-1)
  • (modified) clang/test/CodeGen/fake-use-this.cpp (+1-1)
  • (modified) clang/test/Driver/extend-variable-liveness.c (-1)
  • (modified) llvm/test/CodeGen/MIR/X86/fake-use-tailcall.mir (+1-1)
  • (modified) llvm/test/CodeGen/X86/fake-use-simple-tail-call.ll (+1-1)
  • (modified) llvm/test/CodeGen/X86/fake-use-zero-length.ll (+1-1)
  • (modified) llvm/test/DebugInfo/AArch64/fake-use-global-isel.ll (+1-1)
  • (modified) llvm/test/DebugInfo/X86/fake-use.ll (+1-1)
  • (modified) llvm/test/Transforms/CodeGenPrepare/X86/fake-use-split-ret.ll (+1-1)
  • (modified) llvm/test/Transforms/GVN/fake-use-constprop.ll (+1-1)
diff --git a/clang/docs/ReleaseNotes.rst b/clang/docs/ReleaseNotes.rst
index c5a5da5daf8f5e..cf694310c79f62 100644
--- a/clang/docs/ReleaseNotes.rst
+++ b/clang/docs/ReleaseNotes.rst
@@ -525,14 +525,14 @@ New Compiler Flags
   through optimizations, meaning that variables will typically be visible in a
   debugger more often. The flag has two levels: ``-fextend-variable-liveness``,
   or ``-fextend-variable-liveness=all``, extendes the liveness of all user
-  variables and the ``this`` pointer. Alternatively ``-fextend-this-ptr``, or
-  ``-fextend-variable-liveness=this``, has the same behaviour but applies only
-  to the ``this`` variable in C++ class member functions, meaning its effect is
-  a strict subset of ``-fextend-variable-liveness``. Note that this flag
-  modifies the results of optimizations that Clang performs, which will result
-  in reduced performance in generated code; however, this feature will not
-  extend the liveness of some variables in cases where doing so would likely
-  have a severe impact on generated code performance.
+  variables and the ``this`` pointer. Alternatively
+  ``-fextend-variable-liveness=this`` has the same behaviour but applies only to
+  the ``this`` variable in C++ class member functions, meaning its effect is a
+  strict subset of ``-fextend-variable-liveness``. Note that this flag modifies
+  the results of optimizations that Clang performs, which will result in reduced
+  performance in generated code; however, this feature will not extend the
+  liveness of some variables in cases where doing so would likely have a severe
+  impact on generated code performance.
 
 - The ``-Warray-compare`` warning has been added to warn about array comparison
   on versions older than C++20.
diff --git a/clang/include/clang/Driver/Options.td b/clang/include/clang/Driver/Options.td
index 6fa8a8273aca34..2bf687895db294 100644
--- a/clang/include/clang/Driver/Options.td
+++ b/clang/include/clang/Driver/Options.td
@@ -4352,19 +4352,11 @@ def stack_usage_file : Separate<["-"], "stack-usage-file">,
 def fextend_variable_liveness_EQ : Joined<["-"], "fextend-variable-liveness=">,
   Group<f_Group>, Visibility<[ClangOption, CC1Option]>,
   HelpText<"Extend the liveness of user variables through optimizations to "
-           "prevent stale or optimized-out variable values when debugging. Can "
-           "be applied to all user variables, or just to the C++ 'this' ptr. "
-           "May choose not to extend the liveness of some variables, such as "
-           "non-scalars larger than 4 unsigned ints, or variables in any "
-           "inlined functions.">,
+           "prevent stale or optimized-out variable values when debugging."
   Values<"all,this,none">,
   NormalizedValues<["All", "This", "None"]>,
   NormalizedValuesScope<"CodeGenOptions::ExtendVariableLivenessKind">,
   MarshallingInfoEnum<CodeGenOpts<"ExtendVariableLiveness">, "None">;
-def fextend_this_ptr_liveness : Flag<["-"], "fextend-this-ptr-liveness">,
-  Visibility<[ClangOption, CC1Option]>,
-  Alias<fextend_variable_liveness_EQ>, AliasArgs<["this"]>,
-  HelpText<"Alias for -fextend-variable-liveness=this.">;
 def fextend_variable_liveness : Flag<["-"], "fextend-variable-liveness">,
   Visibility<[ClangOption, CC1Option]>,
   Alias<fextend_variable_liveness_EQ>, AliasArgs<["all"]>,
diff --git a/clang/lib/CodeGen/CGDecl.cpp b/clang/lib/CodeGen/CGDecl.cpp
index e0d2048262f8f1..747e420d031b6f 100644
--- a/clang/lib/CodeGen/CGDecl.cpp
+++ b/clang/lib/CodeGen/CGDecl.cpp
@@ -1423,7 +1423,7 @@ void CodeGenFunction::EmitAndRegisterVariableArrayDimensions(
 }
 
 /// Return the maximum size of an aggregate for which we generate a fake use
-/// intrinsic when -fextend-lifetimes is in effect.
+/// intrinsic when -fextend-variable-liveness is in effect.
 static uint64_t maxFakeUseAggregateSize(const ASTContext &C) {
   return 4 * C.getTypeSize(C.UnsignedIntTy);
 }
diff --git a/clang/lib/CodeGen/CodeGenFunction.h b/clang/lib/CodeGen/CodeGenFunction.h
index 60f16a364d90d1..e978cad4336238 100644
--- a/clang/lib/CodeGen/CodeGenFunction.h
+++ b/clang/lib/CodeGen/CodeGenFunction.h
@@ -724,8 +724,8 @@ class CodeGenFunction : public CodeGenTypeCache {
   };
 
   // We are using objects of this 'cleanup' class to emit fake.use calls
-  // for -fextend-lifetimes and -fextend-this-ptr. They are placed at the end of
-  // a variable's scope analogous to lifetime markers.
+  // for -fextend-variable-liveness. They are placed at the end of a variable's
+  // scope analogous to lifetime markers.
   class FakeUse final : public EHScopeStack::Cleanup {
     Address Addr;
 
diff --git a/clang/test/CodeGen/fake-use-sanitizer.cpp b/clang/test/CodeGen/fake-use-sanitizer.cpp
index d544bf85d2d9e4..e808c645b9c60f 100644
--- a/clang/test/CodeGen/fake-use-sanitizer.cpp
+++ b/clang/test/CodeGen/fake-use-sanitizer.cpp
@@ -1,7 +1,7 @@
 // RUN: %clang_cc1 %s -triple x86_64-unknown-linux-gnu -emit-llvm -fextend-variable-liveness -fsanitize=null -fsanitize-trap=null -o - | FileCheck --check-prefixes=CHECK,NULL --implicit-check-not=ubsantrap %s
 // RUN: %clang_cc1 %s -triple x86_64-unknown-linux-gnu -emit-llvm -fextend-variable-liveness -o - | FileCheck %s
 
-// With -fextend-lifetimes, the compiler previously generated a fake.use of any
+// With -fextend-variable-liveness, the compiler previously generated a fake.use of any
 // reference variable at the end of the scope in which its alloca exists. This
 // caused two issues, where we would get fake uses for uninitialized variables
 // if that variable was declared after an early-return, and UBSan's null checks
diff --git a/clang/test/CodeGen/fake-use-this.cpp b/clang/test/CodeGen/fake-use-this.cpp
index 2c49694b2cd4fd..c1725d88c7176a 100644
--- a/clang/test/CodeGen/fake-use-this.cpp
+++ b/clang/test/CodeGen/fake-use-this.cpp
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 %s -emit-llvm -fextend-this-ptr-liveness -o - | FileCheck %s --implicit-check-not=fake.use
+// RUN: %clang_cc1 %s -emit-llvm -fextend-variable-liveness=this -o - | FileCheck %s --implicit-check-not=fake.use
 // Check that we generate a fake_use call with the 'this' pointer as argument,
 // and no other fake uses.
 // The call should appear after the call to bar().
diff --git a/clang/test/Driver/extend-variable-liveness.c b/clang/test/Driver/extend-variable-liveness.c
index bdd89d6f7721ce..bbfb2ece6f297e 100644
--- a/clang/test/Driver/extend-variable-liveness.c
+++ b/clang/test/Driver/extend-variable-liveness.c
@@ -4,7 +4,6 @@
 // RUN: %clang -### -c %s 2>&1 | FileCheck %s --check-prefixes=CHECK,DEFAULT
 // RUN: %clang -fextend-variable-liveness=none -### -c %s 2>&1 | FileCheck %s --check-prefixes=CHECK,NONE
 // RUN: %clang -fextend-variable-liveness=this -### -c %s 2>&1 | FileCheck %s --check-prefixes=CHECK,THIS
-// RUN: %clang -fextend-this-ptr-liveness -### -c %s 2>&1 | FileCheck %s --check-prefixes=CHECK,THIS
 // RUN: %clang -fextend-variable-liveness=all -### -c %s 2>&1 | FileCheck %s --check-prefixes=CHECK,ALL
 // RUN: %clang -fextend-variable-liveness -### -c %s 2>&1 | FileCheck %s --check-prefixes=CHECK,ALL
 
diff --git a/llvm/test/CodeGen/MIR/X86/fake-use-tailcall.mir b/llvm/test/CodeGen/MIR/X86/fake-use-tailcall.mir
index 6c2cb0e55222b2..3b833ae73551ab 100644
--- a/llvm/test/CodeGen/MIR/X86/fake-use-tailcall.mir
+++ b/llvm/test/CodeGen/MIR/X86/fake-use-tailcall.mir
@@ -8,7 +8,7 @@
 # in the return block itself into the predecessor blocks. This test enures that we do so.
 #
 # Generated from the following source with
-# clang -fextend-lifetimes -S -emit-llvm -O2 -mllvm -stop-before=codegenprepare -o test.mir test.c
+# clang -fextend-variable-liveness -S -emit-llvm -O2 -mllvm -stop-before=codegenprepare -o test.mir test.c
 #
 # extern int f0();
 # extern int f1();
diff --git a/llvm/test/CodeGen/X86/fake-use-simple-tail-call.ll b/llvm/test/CodeGen/X86/fake-use-simple-tail-call.ll
index 45a210ef391009..fb01da9f12c8b4 100644
--- a/llvm/test/CodeGen/X86/fake-use-simple-tail-call.ll
+++ b/llvm/test/CodeGen/X86/fake-use-simple-tail-call.ll
@@ -1,6 +1,6 @@
 ; RUN: llc < %s -mtriple=x86_64-unknown-unknown -O2 -o - \
 ; RUN:   | FileCheck %s --implicit-check-not=TAILCALL
-; Generated with: clang -emit-llvm -O2 -S -fextend-lifetimes test.cpp -o -
+; Generated with: clang -emit-llvm -O2 -S -fextend-variable-liveness test.cpp -o -
 ; =========== test.cpp ===============
 ; extern int bar(int);
 ; int foo1(int i)
diff --git a/llvm/test/CodeGen/X86/fake-use-zero-length.ll b/llvm/test/CodeGen/X86/fake-use-zero-length.ll
index e3bdd2659dd913..71cb1029dcad65 100644
--- a/llvm/test/CodeGen/X86/fake-use-zero-length.ll
+++ b/llvm/test/CodeGen/X86/fake-use-zero-length.ll
@@ -4,7 +4,7 @@
 ; and structs. Check also that they are not propagated.
 ;
 ; Generated from the following source with
-; clang -fextend-lifetimes -S -emit-llvm -O2 -mllvm -stop-after=safe-stack -o test.mir test.cpp
+; clang -fextend-variable-liveness -S -emit-llvm -O2 -mllvm -stop-after=safe-stack -o test.mir test.cpp
 ;
 ; int main ()
 ; { int array[0]; }
diff --git a/llvm/test/DebugInfo/AArch64/fake-use-global-isel.ll b/llvm/test/DebugInfo/AArch64/fake-use-global-isel.ll
index 65a64583096959..2339b067c71e4f 100644
--- a/llvm/test/DebugInfo/AArch64/fake-use-global-isel.ll
+++ b/llvm/test/DebugInfo/AArch64/fake-use-global-isel.ll
@@ -12,7 +12,7 @@
 ; RUN: not %python %p/../Inputs/check-fake-use.py %t
 
 ; Generated with:
-; clang -O2 -g -S -emit-llvm -fextend-this-ptr fake-use.c
+; clang -O2 -g -S -emit-llvm -fextend-variable-liveness=this fake-use.c
 ;
 ; int glob[10];
 ; extern void bar();
diff --git a/llvm/test/DebugInfo/X86/fake-use.ll b/llvm/test/DebugInfo/X86/fake-use.ll
index 5ac5104a167118..0f24ab40ba9ad0 100644
--- a/llvm/test/DebugInfo/X86/fake-use.ll
+++ b/llvm/test/DebugInfo/X86/fake-use.ll
@@ -9,7 +9,7 @@
 ; RUN: not %python %p/../Inputs/check-fake-use.py %t
 
 ; Generated with:
-; clang -O2 -g -S -emit-llvm -fextend-this-ptr fake-use.c
+; clang -O2 -g -S -emit-llvm -fextend-variable-liveness=this fake-use.c
 ;
 ; int glob[10];
 ; extern void bar();
diff --git a/llvm/test/Transforms/CodeGenPrepare/X86/fake-use-split-ret.ll b/llvm/test/Transforms/CodeGenPrepare/X86/fake-use-split-ret.ll
index b2cf89f6f2dd82..9f356b5e3cb427 100644
--- a/llvm/test/Transforms/CodeGenPrepare/X86/fake-use-split-ret.ll
+++ b/llvm/test/Transforms/CodeGenPrepare/X86/fake-use-split-ret.ll
@@ -2,7 +2,7 @@
 ;
 ; Ensure return instruction splitting ignores fake uses.
 ;
-; IR Generated with clang -O2 -S -emit-llvm -fextend-lifetimes test.cpp
+; IR Generated with clang -O2 -S -emit-llvm -fextend-variable-liveness test.cpp
 ;
 ;// test.cpp
 ;extern int bar(int);
diff --git a/llvm/test/Transforms/GVN/fake-use-constprop.ll b/llvm/test/Transforms/GVN/fake-use-constprop.ll
index 1466f9f9fca277..0e7ca101a2524a 100644
--- a/llvm/test/Transforms/GVN/fake-use-constprop.ll
+++ b/llvm/test/Transforms/GVN/fake-use-constprop.ll
@@ -7,7 +7,7 @@
 ; with respect to keeping the variable live up until the fake.use.
 ; This test checks that we don't generate any fake.uses with constant 0.
 ;
-; Reduced from the following test case, generated with clang -O2 -S -emit-llvm -fextend-lifetimes test.c
+; Reduced from the following test case, generated with clang -O2 -S -emit-llvm -fextend-variable-liveness test.c
 ;
 ; extern void func1();
 ; extern int bar();

Copy link
Member

@jmorse jmorse left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM on the belief that -fextend-this-ptr-liveness hasn't been in the driver for very long at all -- if that isn't the case, we end up having to ask questions about supporting it.

@SLTozer SLTozer merged commit 822f74a into llvm:main Jan 28, 2025
5 of 9 checks passed
@llvm-ci
Copy link
Collaborator

llvm-ci commented Jan 28, 2025

LLVM Buildbot has detected a new failure on builder cross-project-tests-sie-ubuntu-dwarf5 running on doug-worker-1b while building clang,llvm at step 5 "build-unified-tree".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/163/builds/12504

Here is the relevant piece of the build log for the reference
Step 5 (build-unified-tree) failure: build (failure)
0.016 [299/3/1] Building CXX object tools/llvm-config/CMakeFiles/llvm-config.dir/llvm-config.cpp.o
0.037 [298/3/2] Generating VCSRevision.h
0.048 [295/5/3] Building Options.inc...
FAILED: tools/clang/include/clang/Driver/Options.inc /home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu-dwarf5/build/tools/clang/include/clang/Driver/Options.inc 
cd /home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu-dwarf5/build && /home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu-dwarf5/build/bin/llvm-tblgen -gen-opt-parser-defs -I /home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu-dwarf5/llvm-project/clang/include/clang/Driver -I/home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu-dwarf5/llvm-project/clang/include -I/home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu-dwarf5/build/tools/clang/include -I/home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu-dwarf5/build/include -I/home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu-dwarf5/llvm-project/llvm/include /home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu-dwarf5/llvm-project/clang/include/clang/Driver/Options.td --write-if-changed -o tools/clang/include/clang/Driver/Options.inc -d tools/clang/include/clang/Driver/Options.inc.d
/home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu-dwarf5/llvm-project/clang/include/clang/Driver/Options.td:4356:3: error: Expected comma before next argument
  Values<"all,this,none">,
  ^
0.077 [295/4/4] Linking CXX executable bin/llvm-config
3.987 [295/3/5] Building CXX object lib/Object/CMakeFiles/LLVMObject.dir/IRSymtab.cpp.o
18.825 [295/2/6] Building CXX object lib/CodeGen/AsmPrinter/CMakeFiles/LLVMAsmPrinter.dir/AsmPrinter.cpp.o
19.823 [295/1/7] Building CXX object lib/LTO/CMakeFiles/LLVMLTO.dir/LTO.cpp.o
ninja: build stopped: subcommand failed.

@llvm-ci
Copy link
Collaborator

llvm-ci commented Jan 28, 2025

LLVM Buildbot has detected a new failure on builder amdgpu-offload-ubuntu-22-cmake-build-only running on rocm-docker-ubu-22 while building clang,llvm at step 4 "annotate".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/203/builds/1137

Here is the relevant piece of the build log for the reference
Step 4 (annotate) failure: '../llvm-zorg/zorg/buildbot/builders/annotated/amdgpu-offload-cmake.py --jobs=32' (failure)
...
-- Performing Test HAVE_POSIX_REGEX -- success
-- Performing Test HAVE_STEADY_CLOCK -- success
-- Performing Test HAVE_PTHREAD_AFFINITY -- success
-- Configuring done
-- Generating done
-- Build files have been written to: /home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/build
@@@BUILD_STEP build cmake config@@@
Running: ninja
[1/517] Building CXX object tools/llvm-config/CMakeFiles/llvm-config.dir/llvm-config.cpp.o
[2/517] Building Options.inc...
FAILED: tools/clang/include/clang/Driver/Options.inc /home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/build/tools/clang/include/clang/Driver/Options.inc 
cd /home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/build && /home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/build/bin/llvm-tblgen -gen-opt-parser-defs -I /home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/llvm-project/clang/include/clang/Driver -I/home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/llvm-project/clang/include -I/home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/build/tools/clang/include -I/home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/build/include -I/home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/llvm-project/llvm/include /home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/llvm-project/clang/include/clang/Driver/Options.td --write-if-changed -o tools/clang/include/clang/Driver/Options.inc -d tools/clang/include/clang/Driver/Options.inc.d
/home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/llvm-project/clang/include/clang/Driver/Options.td:4356:3: error: Expected comma before next argument
  Values<"all,this,none">,
  ^
[3/517] Generating VCSRevision.h
[4/517] Linking CXX executable bin/llvm-config
ninja: build stopped: subcommand failed.
['ninja'] exited with return code 1.
The build step threw an exception...
Traceback (most recent call last):
  File "/home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/build/../llvm-zorg/zorg/buildbot/builders/annotated/amdgpu-offload-cmake.py", line 38, in step
    yield
  File "/home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/build/../llvm-zorg/zorg/buildbot/builders/annotated/amdgpu-offload-cmake.py", line 29, in main
    run_command(["ninja"])
  File "/home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/build/../llvm-zorg/zorg/buildbot/builders/annotated/amdgpu-offload-cmake.py", line 51, in run_command
    util.report_run_cmd(cmd, cwd=directory)
  File "/home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/llvm-zorg/zorg/buildbot/builders/annotated/util.py", line 49, in report_run_cmd
    subprocess.check_call(cmd, shell=shell, *args, **kwargs)
  File "/usr/lib/python3.10/subprocess.py", line 369, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['ninja']' returned non-zero exit status 1.
@@@STEP_FAILURE@@@

@llvm-ci
Copy link
Collaborator

llvm-ci commented Jan 28, 2025

LLVM Buildbot has detected a new failure on builder cross-project-tests-sie-ubuntu running on doug-worker-1a while building clang,llvm at step 5 "build-unified-tree".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/181/builds/12596

Here is the relevant piece of the build log for the reference
Step 5 (build-unified-tree) failure: build (failure)
0.015 [299/3/1] Building CXX object tools/llvm-config/CMakeFiles/llvm-config.dir/llvm-config.cpp.o
0.016 [298/3/2] Generating VCSRevision.h
0.031 [295/5/3] Building Options.inc...
FAILED: tools/clang/include/clang/Driver/Options.inc /home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu/build/tools/clang/include/clang/Driver/Options.inc 
cd /home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu/build && /home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu/build/bin/llvm-tblgen -gen-opt-parser-defs -I /home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu/llvm-project/clang/include/clang/Driver -I/home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu/llvm-project/clang/include -I/home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu/build/tools/clang/include -I/home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu/build/include -I/home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu/llvm-project/llvm/include /home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu/llvm-project/clang/include/clang/Driver/Options.td --write-if-changed -o tools/clang/include/clang/Driver/Options.inc -d tools/clang/include/clang/Driver/Options.inc.d
/home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu/llvm-project/clang/include/clang/Driver/Options.td:4356:3: error: Expected comma before next argument
  Values<"all,this,none">,
  ^
0.062 [295/4/4] Linking CXX executable bin/llvm-config
2.734 [295/3/5] Building CXX object lib/Object/CMakeFiles/LLVMObject.dir/IRSymtab.cpp.o
13.230 [295/2/6] Building CXX object lib/CodeGen/AsmPrinter/CMakeFiles/LLVMAsmPrinter.dir/AsmPrinter.cpp.o
13.816 [295/1/7] Building CXX object lib/LTO/CMakeFiles/LLVMLTO.dir/LTO.cpp.o
ninja: build stopped: subcommand failed.

@llvm-ci
Copy link
Collaborator

llvm-ci commented Jan 28, 2025

LLVM Buildbot has detected a new failure on builder lldb-x86_64-debian running on lldb-x86_64-debian while building clang,llvm at step 4 "build".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/162/builds/15109

Here is the relevant piece of the build log for the reference
Step 4 (build) failure: build (failure)
1.022 [308/3/1] Building Options.inc...
FAILED: tools/clang/include/clang/Driver/Options.inc /home/worker/2.0.1/lldb-x86_64-debian/build/tools/clang/include/clang/Driver/Options.inc 
cd /home/worker/2.0.1/lldb-x86_64-debian/build && /home/worker/2.0.1/lldb-x86_64-debian/build/bin/llvm-tblgen -gen-opt-parser-defs -I /home/worker/2.0.1/lldb-x86_64-debian/llvm-project/clang/include/clang/Driver -I/home/worker/2.0.1/lldb-x86_64-debian/llvm-project/clang/include -I/home/worker/2.0.1/lldb-x86_64-debian/build/tools/clang/include -I/home/worker/2.0.1/lldb-x86_64-debian/build/include -I/home/worker/2.0.1/lldb-x86_64-debian/llvm-project/llvm/include /home/worker/2.0.1/lldb-x86_64-debian/llvm-project/clang/include/clang/Driver/Options.td --write-if-changed -o tools/clang/include/clang/Driver/Options.inc -d tools/clang/include/clang/Driver/Options.inc.d
/home/worker/2.0.1/lldb-x86_64-debian/llvm-project/clang/include/clang/Driver/Options.td:4356:3: error: Expected comma before next argument
  Values<"all,this,none">,
  ^
1.026 [308/2/2] Generating VCSRevision.h
2.652 [308/1/3] Building CXX object tools/llvm-config/CMakeFiles/llvm-config.dir/llvm-config.cpp.o
ninja: build stopped: subcommand failed.

@llvm-ci
Copy link
Collaborator

llvm-ci commented Jan 28, 2025

LLVM Buildbot has detected a new failure on builder openmp-offload-amdgpu-runtime running on omp-vega20-0 while building clang,llvm at step 5 "compile-openmp".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/30/builds/14785

Here is the relevant piece of the build log for the reference
Step 5 (compile-openmp) failure: build (failure)
...
6.499 [3452/32/891] Building X86GenAsmWriter1.inc...
6.552 [3451/32/892] Building X86GenInstrMapping.inc...
6.557 [3450/32/893] Building Options.inc...
6.562 [3449/32/894] Building Options.inc...
6.574 [3448/32/895] Building Options.inc...
6.591 [3447/32/896] Building Options.inc...
6.611 [3446/32/897] Building Options.inc...
6.620 [3445/32/898] Building Options.inc...
6.629 [3444/32/899] Building Options.inc...
6.691 [3443/32/900] Building Options.inc...
FAILED: tools/clang/include/clang/Driver/Options.inc /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/tools/clang/include/clang/Driver/Options.inc 
cd /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build && /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/bin/llvm-tblgen -gen-opt-parser-defs -I /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.src/clang/include/clang/Driver -I/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.src/clang/include -I/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/tools/clang/include -I/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/include -I/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.src/llvm/include /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.src/clang/include/clang/Driver/Options.td --write-if-changed -o tools/clang/include/clang/Driver/Options.inc -d tools/clang/include/clang/Driver/Options.inc.d
/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.src/clang/include/clang/Driver/Options.td:4356:3: error: Expected comma before next argument
  Values<"all,this,none">,
  ^
6.761 [3443/31/901] Building R600GenDAGISel.inc...
6.780 [3443/30/902] Building RISCVTargetParserDef.inc...
6.962 [3443/29/903] Building R600GenDFAPacketizer.inc...
7.048 [3443/28/904] Building X86GenAsmMatcher.inc...
7.097 [3443/27/905] Building R600GenMCCodeEmitter.inc...
7.328 [3443/26/906] Building R600GenRegisterInfo.inc...
7.407 [3443/25/907] Building R600GenSubtargetInfo.inc...
7.499 [3443/24/908] Building R600GenInstrInfo.inc...
7.606 [3443/23/909] Building X86GenDisassemblerTables.inc...
7.734 [3443/22/910] Building X86GenFoldTables.inc...
9.357 [3443/21/911] Building X86GenGlobalISel.inc...
9.793 [3443/20/912] Building X86GenFastISel.inc...
11.105 [3443/19/913] Building X86GenSubtargetInfo.inc...
11.538 [3443/18/914] Building X86GenDAGISel.inc...
14.187 [3443/17/915] Building X86GenInstrInfo.inc...
19.110 [3443/16/916] Building AMDGPUGenMCPseudoLowering.inc...
19.992 [3443/15/917] Building AMDGPUGenPostLegalizeGICombiner.inc...
20.120 [3443/14/918] Building AMDGPUGenPreLegalizeGICombiner.inc...
20.592 [3443/13/919] Building AMDGPUGenCallingConv.inc...
21.733 [3443/12/920] Building AMDGPUGenMCCodeEmitter.inc...
21.801 [3443/11/921] Building AMDGPUGenDisassemblerTables.inc...
21.949 [3443/10/922] Building AMDGPUGenSearchableTables.inc...
22.902 [3443/9/923] Building AMDGPUGenRegBankGICombiner.inc...
24.047 [3443/8/924] Building AMDGPUGenSubtargetInfo.inc...
29.677 [3443/7/925] Building AMDGPUGenGlobalISel.inc...
29.895 [3443/6/926] Building AMDGPUGenAsmMatcher.inc...
30.104 [3443/5/927] Building AMDGPUGenDAGISel.inc...
30.451 [3443/4/928] Building AMDGPUGenAsmWriter.inc...
31.415 [3443/3/929] Building AMDGPUGenInstrInfo.inc...
33.870 [3443/2/930] Building AMDGPUGenRegisterInfo.inc...
35.292 [3443/1/931] Building AMDGPUGenRegisterBank.inc...
ninja: build stopped: subcommand failed.

@llvm-ci
Copy link
Collaborator

llvm-ci commented Jan 28, 2025

LLVM Buildbot has detected a new failure on builder clangd-ubuntu-tsan running on clangd-ubuntu-clang while building clang,llvm at step 5 "build-clangd-clangd-index-server-clangd-indexer".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/134/builds/12547

Here is the relevant piece of the build log for the reference
Step 5 (build-clangd-clangd-index-server-clangd-indexer) failure: build (failure)
...
78.441 [1852/18/2874] Building CXX object lib/TextAPI/CMakeFiles/LLVMTextAPI.dir/Symbol.cpp.o
78.452 [1851/18/2875] Building CXX object lib/TextAPI/CMakeFiles/LLVMTextAPI.dir/SymbolSet.cpp.o
78.459 [1850/18/2876] Building CXX object lib/TextAPI/CMakeFiles/LLVMTextAPI.dir/Target.cpp.o
78.462 [1849/18/2877] Building CXX object lib/TextAPI/CMakeFiles/LLVMTextAPI.dir/TextAPIError.cpp.o
78.469 [1848/18/2878] Building CXX object lib/TextAPI/CMakeFiles/LLVMTextAPI.dir/TextStubCommon.cpp.o
78.470 [1848/17/2879] Building CXX object lib/TextAPI/CMakeFiles/LLVMTextAPI.dir/TextStub.cpp.o
78.474 [1848/16/2880] Building CXX object lib/TextAPI/CMakeFiles/LLVMTextAPI.dir/Utils.cpp.o
78.482 [1848/15/2881] Building CXX object lib/WindowsDriver/CMakeFiles/LLVMWindowsDriver.dir/MSVCPaths.cpp.o
78.504 [1848/14/2882] Linking CXX static library lib/libLLVMTargetParser.a
78.514 [1846/15/2883] Building Options.inc...
FAILED: tools/clang/include/clang/Driver/Options.inc /vol/worker/clangd-ubuntu-clang/clangd-ubuntu-tsan/build/tools/clang/include/clang/Driver/Options.inc 
cd /vol/worker/clangd-ubuntu-clang/clangd-ubuntu-tsan/build && /vol/worker/clangd-ubuntu-clang/clangd-ubuntu-tsan/build/NATIVE/bin/llvm-tblgen -gen-opt-parser-defs -I /vol/worker/clangd-ubuntu-clang/clangd-ubuntu-tsan/llvm-project/clang/include/clang/Driver -I/vol/worker/clangd-ubuntu-clang/clangd-ubuntu-tsan/llvm-project/clang/include -I/vol/worker/clangd-ubuntu-clang/clangd-ubuntu-tsan/build/tools/clang/include -I/vol/worker/clangd-ubuntu-clang/clangd-ubuntu-tsan/build/include -I/vol/worker/clangd-ubuntu-clang/clangd-ubuntu-tsan/llvm-project/llvm/include /vol/worker/clangd-ubuntu-clang/clangd-ubuntu-tsan/llvm-project/clang/include/clang/Driver/Options.td --write-if-changed -o tools/clang/include/clang/Driver/Options.inc -d tools/clang/include/clang/Driver/Options.inc.d
/vol/worker/clangd-ubuntu-clang/clangd-ubuntu-tsan/llvm-project/clang/include/clang/Driver/Options.td:4356:3: error: Expected comma before next argument
  Values<"all,this,none">,
  ^
78.563 [1846/14/2884] Linking CXX static library lib/libLLVMWindowsDriver.a
78.570 [1846/13/2885] Linking CXX static library lib/libLLVMBinaryFormat.a
78.577 [1846/12/2886] Building RISCVGenInstrInfo.inc...
78.856 [1846/11/2887] Building X86GenRegisterInfo.inc...
79.048 [1846/10/2888] Building X86GenFastISel.inc...
79.055 [1846/9/2889] Building X86GenRegisterBank.inc...
79.129 [1846/8/2890] Building AMDGPUGenRegisterInfo.inc...
79.383 [1846/7/2891] Building X86GenGlobalISel.inc...
79.500 [1846/6/2892] Building X86GenMnemonicTables.inc...
80.272 [1846/5/2893] Building RISCVGenGlobalISel.inc...
80.503 [1846/4/2894] Building X86GenDAGISel.inc...
80.980 [1846/3/2895] Building RISCVGenDAGISel.inc...
82.724 [1846/2/2896] Building X86GenInstrInfo.inc...
82.779 [1846/1/2897] Building X86GenSubtargetInfo.inc...
ninja: build stopped: subcommand failed.

@llvm-ci
Copy link
Collaborator

llvm-ci commented Jan 28, 2025

LLVM Buildbot has detected a new failure on builder flang-aarch64-libcxx running on linaro-flang-aarch64-libcxx while building clang,llvm at step 5 "build-unified-tree".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/89/builds/15409

Here is the relevant piece of the build log for the reference
Step 5 (build-unified-tree) failure: build (failure)
...
36.994 [4117/59/3173] Creating library symlink lib/libmlir_async_runtime.so
36.996 [4117/58/3174] Building TestTypeDefs.h.inc...
36.997 [4117/57/3175] Creating library symlink lib/libmlir_arm_runner_utils.so
36.997 [4117/56/3176] Copying clang's stdalign.h...
36.998 [4117/55/3177] Copying clang's __stdarg___gnuc_va_list.h...
36.998 [4117/54/3178] Building TestTypeDefs.cpp.inc...
37.002 [4117/53/3179] Building CXX object tools/mlir/lib/IR/CMakeFiles/obj.MLIRIR.dir/PatternMatch.cpp.o
37.004 [4117/52/3180] Building CXX object tools/mlir/lib/IR/CMakeFiles/obj.MLIRIR.dir/Verifier.cpp.o
37.005 [4117/51/3181] Copying clang's stdarg.h...
37.006 [4117/50/3182] Building Options.inc...
FAILED: tools/clang/include/clang/Driver/Options.inc /home/tcwg-buildbot/worker/flang-aarch64-libcxx/build/tools/clang/include/clang/Driver/Options.inc 
cd /home/tcwg-buildbot/worker/flang-aarch64-libcxx/build && /home/tcwg-buildbot/worker/flang-aarch64-libcxx/build/bin/llvm-tblgen -gen-opt-parser-defs -I /home/tcwg-buildbot/worker/flang-aarch64-libcxx/llvm-project/clang/include/clang/Driver -I/home/tcwg-buildbot/worker/flang-aarch64-libcxx/llvm-project/clang/include -I/home/tcwg-buildbot/worker/flang-aarch64-libcxx/build/tools/clang/include -I/home/tcwg-buildbot/worker/flang-aarch64-libcxx/build/include -I/home/tcwg-buildbot/worker/flang-aarch64-libcxx/llvm-project/llvm/include /home/tcwg-buildbot/worker/flang-aarch64-libcxx/llvm-project/clang/include/clang/Driver/Options.td --write-if-changed -o tools/clang/include/clang/Driver/Options.inc -d tools/clang/include/clang/Driver/Options.inc.d
/home/tcwg-buildbot/worker/flang-aarch64-libcxx/llvm-project/clang/include/clang/Driver/Options.td:4356:3: error: Expected comma before next argument
  Values<"all,this,none">,
  ^
37.006 [4117/49/3183] Copying clang's __stdarg___va_copy.h...
37.007 [4117/48/3184] Copying clang's __stdarg_header_macro.h...
37.011 [4117/47/3185] Building CXX object tools/mlir/lib/IR/CMakeFiles/obj.MLIRIR.dir/Operation.cpp.o
37.025 [4117/46/3186] Building CXX object tools/mlir/lib/Interfaces/CMakeFiles/obj.MLIRDerivedAttributeOpInterface.dir/DerivedAttributeOpInterface.cpp.o
37.029 [4117/45/3187] Building CXX object tools/mlir/lib/Interfaces/CMakeFiles/obj.MLIRDestinationStyleOpInterface.dir/DestinationStyleOpInterface.cpp.o
37.032 [4117/44/3188] Building CXX object tools/mlir/lib/IR/CMakeFiles/obj.MLIRIR.dir/TypeUtilities.cpp.o
37.033 [4117/43/3189] Building CXX object tools/mlir/lib/Interfaces/CMakeFiles/obj.MLIRCastInterfaces.dir/CastInterfaces.cpp.o
37.035 [4117/42/3190] Building CXX object tools/mlir/lib/Interfaces/CMakeFiles/obj.MLIRControlFlowInterfaces.dir/ControlFlowInterfaces.cpp.o
37.037 [4117/41/3191] Building CXX object tools/mlir/lib/Interfaces/CMakeFiles/obj.MLIRMemorySlotInterfaces.dir/MemorySlotInterfaces.cpp.o
37.039 [4117/40/3192] Building CXX object tools/mlir/lib/Interfaces/CMakeFiles/obj.MLIRFunctionInterfaces.dir/FunctionInterfaces.cpp.o
37.040 [4117/39/3193] Building CXX object tools/mlir/lib/Interfaces/CMakeFiles/obj.MLIRFunctionInterfaces.dir/FunctionImplementation.cpp.o
37.042 [4117/38/3194] Building CXX object tools/mlir/lib/Interfaces/CMakeFiles/obj.MLIRInferTypeOpInterface.dir/InferTypeOpInterface.cpp.o
37.043 [4117/37/3195] Building CXX object tools/mlir/lib/IR/CMakeFiles/obj.MLIRIR.dir/RegionKindInterface.cpp.o
37.045 [4117/36/3196] Building CXX object tools/mlir/lib/Interfaces/CMakeFiles/obj.MLIRCopyOpInterface.dir/CopyOpInterface.cpp.o
37.046 [4117/35/3197] Building CXX object tools/mlir/lib/Interfaces/CMakeFiles/obj.MLIRParallelCombiningOpInterface.dir/ParallelCombiningOpInterface.cpp.o
37.048 [4117/34/3198] Building CXX object tools/mlir/lib/Query/Matcher/CMakeFiles/obj.MLIRQueryMatcher.dir/Parser.cpp.o
37.050 [4117/33/3199] Building CXX object tools/mlir/lib/Query/Matcher/CMakeFiles/obj.MLIRQueryMatcher.dir/RegistryManager.cpp.o
37.051 [4117/32/3200] Building CXX object tools/mlir/lib/Interfaces/CMakeFiles/obj.MLIRViewLikeInterface.dir/ViewLikeInterface.cpp.o
37.055 [4117/31/3201] Building CXX object tools/mlir/lib/IR/CMakeFiles/obj.MLIRIR.dir/Region.cpp.o
37.058 [4117/30/3202] Building CXX object tools/mlir/lib/Interfaces/CMakeFiles/obj.MLIRInferIntRangeInterface.dir/InferIntRangeInterface.cpp.o
37.059 [4117/29/3203] Building CXX object tools/mlir/lib/Interfaces/CMakeFiles/obj.MLIRLoopLikeInterface.dir/LoopLikeInterface.cpp.o
37.061 [4117/28/3204] Building CXX object tools/mlir/tools/tblgen-lsp-server/CMakeFiles/tblgen-lsp-server.dir/tblgen-lsp-server.cpp.o
37.062 [4117/27/3205] Building CXX object tools/mlir/lib/Interfaces/CMakeFiles/obj.MLIRRuntimeVerifiableOpInterface.dir/RuntimeVerifiableOpInterface.cpp.o
37.065 [4117/26/3206] Building CXX object tools/mlir/lib/Interfaces/CMakeFiles/obj.MLIRDataLayoutInterfaces.dir/DataLayoutInterfaces.cpp.o
37.067 [4117/25/3207] Building CXX object tools/mlir/lib/Interfaces/CMakeFiles/obj.MLIRSideEffectInterfaces.dir/SideEffectInterfaces.cpp.o
37.068 [4117/24/3208] Building CXX object tools/mlir/lib/Interfaces/CMakeFiles/obj.MLIRTilingInterface.dir/TilingInterface.cpp.o
37.068 [4117/23/3209] Linking CXX shared library lib/libmlir_runner_utils.so.20.0git
37.070 [4117/22/3210] Building CXX object tools/mlir/lib/Query/Matcher/CMakeFiles/obj.MLIRQueryMatcher.dir/Diagnostics.cpp.o
37.072 [4117/21/3211] Building CXX object lib/Object/CMakeFiles/LLVMObject.dir/IRSymtab.cpp.o
37.074 [4117/20/3212] Building CXX object tools/mlir/lib/Interfaces/CMakeFiles/obj.MLIRVectorInterfaces.dir/VectorInterfaces.cpp.o
37.075 [4117/19/3213] Building CXX object tools/mlir/lib/Interfaces/CMakeFiles/obj.MLIRShapedOpInterfaces.dir/ShapedOpInterfaces.cpp.o
37.075 [4117/18/3214] Linking CXX shared library lib/libMLIRSparseTensorRuntime.so.20.0git
37.083 [4117/17/3215] Linking CXX shared library lib/libMLIRPDLLODS.so.20.0git
37.084 [4117/16/3216] Linking CXX shared library lib/libMLIRCAPIDebug.so.20.0git

@llvm-ci
Copy link
Collaborator

llvm-ci commented Jan 28, 2025

LLVM Buildbot has detected a new failure on builder llvm-clang-x86_64-win-fast running on as-builder-3 while building clang,llvm at step 6 "build-unified-tree".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/2/builds/15908

Here is the relevant piece of the build log for the reference
Step 6 (build-unified-tree) failure: build (failure)
...
[929/4138] Building Opts.inc...
[930/4138] Building Opts.inc...
[931/4138] Building Opts.inc...
[932/4138] Building ARMGenGlobalISel.inc...
[933/4138] Building InstallNameToolOpts.inc...
[934/4138] Building OtoolOpts.inc...
[935/4138] Building CXX object tools\llvm-mt\CMakeFiles\llvm-mt.dir\llvm-mt.cpp.obj
[936/4138] Building CXX object tools\llvm-mt\CMakeFiles\llvm-mt.dir\llvm-mt-driver.cpp.obj
[937/4138] Building RC object tools\llvm-mt\CMakeFiles\llvm-mt.dir\__\__\resources\windows_version_resource.rc.res
[938/4138] Building Options.inc...
FAILED: tools/clang/include/clang/Driver/Options.inc C:/buildbot/as-builder-3/llvm-clang-x86_64-win-fast/build/tools/clang/include/clang/Driver/Options.inc 
cmd.exe /C "cd /D C:\buildbot\as-builder-3\llvm-clang-x86_64-win-fast\build && C:\buildbot\as-builder-3\llvm-clang-x86_64-win-fast\build\bin\llvm-tblgen.exe -gen-opt-parser-defs -I C:/buildbot/as-builder-3/llvm-clang-x86_64-win-fast/llvm-project/clang/include/clang/Driver -IC:/buildbot/as-builder-3/llvm-clang-x86_64-win-fast/llvm-project/clang/include -IC:/buildbot/as-builder-3/llvm-clang-x86_64-win-fast/build/tools/clang/include -IC:/buildbot/as-builder-3/llvm-clang-x86_64-win-fast/build/include -IC:/buildbot/as-builder-3/llvm-clang-x86_64-win-fast/llvm-project/llvm/include --long-string-literals=0 C:/buildbot/as-builder-3/llvm-clang-x86_64-win-fast/llvm-project/clang/include/clang/Driver/Options.td --write-if-changed -o tools/clang/include/clang/Driver/Options.inc -d tools/clang/include/clang/Driver/Options.inc.d"
C:/buildbot/as-builder-3/llvm-clang-x86_64-win-fast/llvm-project/clang/include/clang/Driver/Options.td:4356:3: error: Expected comma before next argument
  Values<"all,this,none">,
  ^
[939/4138] Building WindresOpts.inc...
[940/4138] Linking CXX executable bin\llvm-opt-report.exe
[941/4138] Building BitcodeStripOpts.inc...
[942/4138] Building ARMGenDAGISel.inc...
[943/4138] Linking CXX executable bin\llvm-remarkutil.exe
[944/4138] Building ARMGenSubtargetInfo.inc...
[945/4138] Linking CXX shared library bin\Remarks.dll
[946/4138] Linking CXX executable bin\llvm-mt.exe
[947/4138] Building ARMGenInstrInfo.inc...
[948/4138] Building RISCVTargetParserDef.inc...
ninja: build stopped: subcommand failed.

@llvm-ci
Copy link
Collaborator

llvm-ci commented Jan 28, 2025

LLVM Buildbot has detected a new failure on builder llvm-clang-x86_64-sie-ubuntu-fast running on sie-linux-worker while building clang,llvm at step 5 "build-unified-tree".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/144/builds/16829

Here is the relevant piece of the build log for the reference
Step 5 (build-unified-tree) failure: build (failure)
0.012 [302/3/1] Building CXX object tools/llvm-config/CMakeFiles/llvm-config.dir/llvm-config.cpp.o
0.018 [301/3/2] Generating VCSRevision.h
0.031 [298/5/3] Building Options.inc...
FAILED: tools/clang/include/clang/Driver/Options.inc /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/tools/clang/include/clang/Driver/Options.inc 
cd /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build && /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/llvm-tblgen -gen-opt-parser-defs -I /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/clang/include/clang/Driver -I/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/clang/include -I/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/tools/clang/include -I/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/include -I/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/include /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/clang/include/clang/Driver/Options.td --write-if-changed -o tools/clang/include/clang/Driver/Options.inc -d tools/clang/include/clang/Driver/Options.inc.d
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/clang/include/clang/Driver/Options.td:4356:3: error: Expected comma before next argument
  Values<"all,this,none">,
  ^
0.050 [298/4/4] Linking CXX executable bin/llvm-config
2.317 [298/3/5] Building CXX object lib/Object/CMakeFiles/LLVMObject.dir/IRSymtab.cpp.o
11.118 [298/2/6] Building CXX object lib/CodeGen/AsmPrinter/CMakeFiles/LLVMAsmPrinter.dir/AsmPrinter.cpp.o
11.620 [298/1/7] Building CXX object lib/LTO/CMakeFiles/LLVMLTO.dir/LTO.cpp.o
ninja: build stopped: subcommand failed.

@llvm-ci
Copy link
Collaborator

llvm-ci commented Jan 28, 2025

LLVM Buildbot has detected a new failure on builder ppc64le-flang-rhel-clang running on ppc64le-flang-rhel-test while building clang,llvm at step 5 "build-unified-tree".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/157/builds/18501

Here is the relevant piece of the build log for the reference
Step 5 (build-unified-tree) failure: build (failure)
...
18.787 [4984/36/1704] Building OtoolOpts.inc...
18.788 [4984/35/1705] Building WindresOpts.inc...
18.788 [4984/34/1706] Linking CXX static library lib/libMLIRPDLLODS.a
18.790 [4983/34/1707] Linking CXX static library lib/libFortranSupport.a
18.792 [4983/33/1708] Building CXX object tools/llvm-mt/CMakeFiles/llvm-mt.dir/llvm-mt.cpp.o
18.793 [4983/32/1709] Building CXX object tools/llvm-mt/CMakeFiles/llvm-mt.dir/llvm-mt-driver.cpp.o
18.794 [4982/32/1710] Creating library symlink lib/libmlir_arm_sme_abi_stubs.so
18.795 [4982/31/1711] Building BuiltinTypes.h.inc...
18.799 [4980/32/1712] Creating library symlink lib/libmlir_float16_utils.so
18.805 [4978/33/1713] Building Options.inc...
FAILED: tools/clang/include/clang/Driver/Options.inc /home/buildbots/llvm-external-buildbots/workers/ppc64le-flang-rhel-test/ppc64le-flang-rhel-clang-build/build/tools/clang/include/clang/Driver/Options.inc 
cd /home/buildbots/llvm-external-buildbots/workers/ppc64le-flang-rhel-test/ppc64le-flang-rhel-clang-build/build && /home/buildbots/llvm-external-buildbots/workers/ppc64le-flang-rhel-test/ppc64le-flang-rhel-clang-build/build/bin/llvm-tblgen -gen-opt-parser-defs -I /home/buildbots/llvm-external-buildbots/workers/ppc64le-flang-rhel-test/ppc64le-flang-rhel-clang-build/llvm-project/clang/include/clang/Driver -I/home/buildbots/llvm-external-buildbots/workers/ppc64le-flang-rhel-test/ppc64le-flang-rhel-clang-build/llvm-project/clang/include -I/home/buildbots/llvm-external-buildbots/workers/ppc64le-flang-rhel-test/ppc64le-flang-rhel-clang-build/build/tools/clang/include -I/home/buildbots/llvm-external-buildbots/workers/ppc64le-flang-rhel-test/ppc64le-flang-rhel-clang-build/build/include -I/home/buildbots/llvm-external-buildbots/workers/ppc64le-flang-rhel-test/ppc64le-flang-rhel-clang-build/llvm-project/llvm/include /home/buildbots/llvm-external-buildbots/workers/ppc64le-flang-rhel-test/ppc64le-flang-rhel-clang-build/llvm-project/clang/include/clang/Driver/Options.td --write-if-changed -o tools/clang/include/clang/Driver/Options.inc -d tools/clang/include/clang/Driver/Options.inc.d
/home/buildbots/llvm-external-buildbots/workers/ppc64le-flang-rhel-test/ppc64le-flang-rhel-clang-build/llvm-project/clang/include/clang/Driver/Options.td:4356:3: error: Expected comma before next argument
  Values<"all,this,none">,
  ^
18.805 [4978/32/1714] Creating library symlink lib/libmlir_arm_runner_utils.so
18.808 [4978/31/1715] Building BitcodeStripOpts.inc...
18.846 [4978/30/1716] Linking CXX static library lib/libTableGenLspServerLib.a
18.853 [4978/29/1717] Linking CXX static library lib/libMLIRPDLLAST.a
18.858 [4978/28/1718] Linking CXX static library lib/libMLIRSparseTensorRuntime.a
18.869 [4978/27/1719] Building BuiltinTypeConstraints.h.inc...
18.872 [4978/26/1720] Building BuiltinTypeConstraints.cpp.inc...
18.874 [4978/25/1721] Building SPIRVSerialization.inc...
18.888 [4978/24/1722] Linking CXX shared library lib/libmlir_async_runtime.so.20.0git
18.928 [4978/23/1723] Building LLVMConversionEnumsFromLLVM.inc...
18.933 [4978/22/1724] Building LLVMConversionEnumsToLLVM.inc...
18.936 [4978/21/1725] Building LLVMConversions.inc...
18.947 [4978/20/1726] Building LLVMOpFromLLVMIRConversions.inc...
18.985 [4978/19/1727] Linking CXX executable bin/mlir-src-sharder
18.994 [4978/18/1728] Linking CXX shared library lib/libmlir_runner_utils.so.20.0git
19.010 [4978/17/1729] Building TestOpsSyntax.cpp.inc...
19.011 [4978/16/1730] Building TestOpsSyntax.h.inc...
19.054 [4978/15/1731] Linking CXX executable bin/llvm-mt
21.117 [4978/14/1732] Building PPCGenCallingConv.inc...
21.311 [4978/13/1733] Building PPCGenExegesis.inc...
21.322 [4978/12/1734] Building PPCGenRegisterBank.inc...
21.377 [4978/11/1735] Building PPCGenRegisterInfo.inc...
21.386 [4978/10/1736] Building PPCGenDisassemblerTables.inc...
21.412 [4978/9/1737] Building PPCGenAsmWriter.inc...
21.508 [4978/8/1738] Building PPCGenMCCodeEmitter.inc...
21.581 [4978/7/1739] Building PPCGenAsmMatcher.inc...
22.210 [4978/6/1740] Building PPCGenSubtargetInfo.inc...
22.750 [4978/5/1741] Building AArch64TargetParserDef.inc...
23.642 [4978/4/1742] Building PPCGenFastISel.inc...
24.240 [4978/3/1743] Building PPCGenGlobalISel.inc...
24.372 [4978/2/1744] Building PPCGenDAGISel.inc...
24.579 [4978/1/1745] Building PPCGenInstrInfo.inc...
ninja: build stopped: subcommand failed.

@llvm-ci
Copy link
Collaborator

llvm-ci commented Jan 28, 2025

LLVM Buildbot has detected a new failure on builder clang-hip-vega20 running on hip-vega20-0 while building clang,llvm at step 3 "annotate".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/123/builds/12607

Here is the relevant piece of the build log for the reference
Step 3 (annotate) failure: '../llvm-zorg/zorg/buildbot/builders/annotated/hip-build.sh --jobs=' (failure)
...
-- Performing Test HAVE_PTHREAD_AFFINITY -- success
-- Configuring done
-- Generating done
-- Build files have been written to: /home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm
+ build_step 'Building LLVM'
+ echo '@@@BUILD_STEP Building LLVM@@@'
+ ninja
@@@BUILD_STEP Building LLVM@@@
[1/325] Building CXX object tools/llvm-config/CMakeFiles/llvm-config.dir/llvm-config.cpp.o
[2/325] Building Options.inc...
FAILED: tools/clang/include/clang/Driver/Options.inc /home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/tools/clang/include/clang/Driver/Options.inc 
cd /home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm && /home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/bin/llvm-tblgen -gen-opt-parser-defs -I /home/botworker/bbot/clang-hip-vega20/llvm-project/clang/include/clang/Driver -I/home/botworker/bbot/clang-hip-vega20/llvm-project/clang/include -I/home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/tools/clang/include -I/home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/include -I/home/botworker/bbot/clang-hip-vega20/llvm-project/llvm/include /home/botworker/bbot/clang-hip-vega20/llvm-project/clang/include/clang/Driver/Options.td --write-if-changed -o tools/clang/include/clang/Driver/Options.inc -d tools/clang/include/clang/Driver/Options.inc.d
/home/botworker/bbot/clang-hip-vega20/llvm-project/clang/include/clang/Driver/Options.td:4356:3: error: Expected comma before next argument
  Values<"all,this,none">,
  ^
[3/325] Generating VCSRevision.h
[4/325] Linking CXX executable bin/llvm-config
ninja: build stopped: subcommand failed.
Step 6 (Configure LLVM Build) failure: Configure LLVM Build (failure)
@@@BUILD_STEP Configure LLVM Build@@@
+ cd /home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm
+ cmake -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER_LAUNCHER=ccache -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DCMAKE_VERBOSE_MAKEFILE=1 '-DLLVM_TARGETS_TO_BUILD=AMDGPU;X86' '-DLLVM_ENABLE_PROJECTS=clang;lld;clang-tools-extra' '-DLLVM_ENABLE_RUNTIMES=compiler-rt;libcxx;libcxxabi;libunwind' -DCLANG_DEFAULT_LINKER=lld -DLIBCXX_ENABLE_SHARED=OFF -DLIBCXX_ENABLE_STATIC=ON -DLIBCXX_INSTALL_LIBRARY=OFF -DLIBCXX_INSTALL_HEADERS=OFF -DLIBCXXABI_ENABLE_SHARED=OFF -DLIBCXXABI_ENABLE_STATIC=ON -DLIBCXXABI_INSTALL_STATIC_LIBRARY=OFF -DCMAKE_INSTALL_PREFIX=/home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/install -DLLVM_ENABLE_ASSERTIONS=ON -DLLVM_ENABLE_Z3_SOLVER=OFF -DLLVM_ENABLE_ZLIB=ON '-DLLVM_LIT_ARGS=-v -vv' /home/botworker/bbot/clang-hip-vega20/llvm-project/llvm
-- bolt project is disabled
-- clang project is enabled
-- clang-tools-extra project is enabled
-- compiler-rt project is disabled
-- cross-project-tests project is disabled
-- libc project is disabled
-- libclc project is disabled
-- lld project is enabled
-- lldb project is disabled
-- mlir project is disabled
-- openmp project is disabled
-- polly project is disabled
-- pstl project is disabled
-- flang project is disabled
-- Could NOT find LibXml2 (missing: LIBXML2_LIBRARY LIBXML2_INCLUDE_DIR) 
-- Could NOT find LibEdit (missing: LibEdit_INCLUDE_DIRS LibEdit_LIBRARIES) 
-- LLVM host triple: x86_64-unknown-linux-gnu
-- Native target architecture is X86
-- Threads enabled.
-- Doxygen disabled.
-- Ninja version: 1.10.1
-- Could NOT find OCaml (missing: OCAMLFIND OCAML_VERSION OCAML_STDLIB_PATH) 
-- Could NOT find OCaml (missing: OCAMLFIND OCAML_VERSION OCAML_STDLIB_PATH) 
-- OCaml bindings disabled.
-- LLVM default target triple: x86_64-unknown-linux-gnu
-- Building with -fPIC
-- Targeting AMDGPU
-- Targeting X86
-- LLD version: 20.0.0
-- Clang version: 20.0.0git
-- Registering ExampleIRTransforms as a pass plugin (static build: OFF)
-- Registering Bye as a pass plugin (static build: OFF)
-- Failed to find LLVM FileCheck
-- Google Benchmark version: v0.0.0, normalized to 0.0.0
-- Performing Test HAVE_GNU_POSIX_REGEX -- failed to compile
-- Performing Test HAVE_POSIX_REGEX -- success
-- Performing Test HAVE_STEADY_CLOCK -- success
-- Performing Test HAVE_PTHREAD_AFFINITY -- success
-- Configuring done
-- Generating done
-- Build files have been written to: /home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm
+ build_step 'Building LLVM'
+ echo '@@@BUILD_STEP Building LLVM@@@'
+ ninja

@llvm-ci
Copy link
Collaborator

llvm-ci commented Jan 28, 2025

LLVM Buildbot has detected a new failure on builder openmp-offload-sles-build-only running on rocm-worker-hw-04-sles while building clang,llvm at step 5 "compile-openmp".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/140/builds/15775

Here is the relevant piece of the build log for the reference
Step 5 (compile-openmp) failure: build (failure)
...
9.893 [3602/32/3457] Building arm_sme_streaming_attrs.inc...
9.898 [3601/32/3458] Building arm_mve_builtin_aliases.inc...
9.904 [3600/32/3459] Building arm_mve_builtins.inc...
9.907 [3599/32/3460] Linking CXX static library lib/libLLVMX86Disassembler.a
9.911 [3598/32/3461] Building arm_sve_streaming_attrs.inc...
9.913 [3597/32/3462] Building AttrSubMatchRulesParserStringSwitches.inc...
9.917 [3596/32/3463] Building DiagnosticSerializationKinds.inc...
9.920 [3595/32/3464] Building LinalgStructuredOps.cpp.inc...
9.924 [3594/32/3465] Building AttrParserStringSwitches.inc...
9.925 [3593/32/3466] Building Options.inc...
FAILED: tools/clang/include/clang/Driver/Options.inc 
cd /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build && /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/bin/llvm-tblgen -gen-opt-parser-defs -I /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/clang/include/clang/Driver -I/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/clang/include -I/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/tools/clang/include -I/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/include -I/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/include /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/clang/include/clang/Driver/Options.td --write-if-changed -o tools/clang/include/clang/Driver/Options.inc -d tools/clang/include/clang/Driver/Options.inc.d
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/clang/include/clang/Driver/Options.td:4356:3: error: Expected comma before next argument
  Values<"all,this,none">,
  ^
9.927 [3593/31/3467] Building AttrSpellingListIndex.inc...
9.928 [3593/30/3468] Building LinalgStructuredOps.h.inc...
9.929 [3593/29/3469] Linking CXX static library lib/libLLVMX86Desc.a
9.931 [3593/28/3470] Building AttrParsedAttrKinds.inc...
9.934 [3593/27/3471] Building AttrTemplateInstantiate.inc...
9.938 [3593/26/3472] Building AttrPCHWrite.inc...
9.942 [3593/25/3473] Building AttrPCHRead.inc...
9.943 [3593/24/3474] Building TestOps.cpp.inc...
9.947 [3593/23/3475] Building TestOps.h.inc...
9.947 [3593/22/3476] Building AttrParsedAttrImpl.inc...
9.994 [3593/21/3477] Building arm_sve_builtins.inc...
10.390 [3593/20/3478] Building CXX object lib/Object/CMakeFiles/LLVMObject.dir/IRSymtab.cpp.o
11.706 [3593/19/3479] Building AMDGPUGenCallingConv.inc...
12.497 [3593/18/3480] Building AMDGPUGenMCPseudoLowering.inc...
12.603 [3593/17/3481] Building CXX object lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/AsmParser.cpp.o
12.824 [3593/16/3482] Building AMDGPUGenPostLegalizeGICombiner.inc...
12.862 [3593/15/3483] Building AMDGPUGenDisassemblerTables.inc...
13.030 [3593/14/3484] Building AMDGPUGenPreLegalizeGICombiner.inc...
13.074 [3593/13/3485] Building AMDGPUGenMCCodeEmitter.inc...
13.159 [3593/12/3486] Building AMDGPUGenRegBankGICombiner.inc...
14.134 [3593/11/3487] Building AMDGPUGenSubtargetInfo.inc...
14.269 [3593/10/3488] Building AMDGPUGenSearchableTables.inc...
16.697 [3593/9/3489] Building CXX object lib/CodeGen/AsmPrinter/CMakeFiles/LLVMAsmPrinter.dir/AsmPrinter.cpp.o
In file included from /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/include/llvm/CodeGen/MachineStableHash.h:17:0,
                 from /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/include/llvm/CodeGen/MachineOutliner.h:21,
                 from /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/include/llvm/CodeGen/TargetInstrInfo.h:28,
                 from /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp:59:
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/include/llvm/ADT/StableHashing.h: In function ‘llvm::StringRef llvm::get_stable_name(llvm::StringRef)’:
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/include/llvm/ADT/StableHashing.h:57:15: warning: unused variable ‘P0’ [-Wunused-variable]
   auto [P0, S0] = Name.rsplit(".content.");
               ^
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/include/llvm/ADT/StableHashing.h:62:15: warning: unused variable ‘S1’ [-Wunused-variable]
   auto [P1, S1] = Name.rsplit(".llvm.");
               ^

@llvm-ci
Copy link
Collaborator

llvm-ci commented Jan 28, 2025

LLVM Buildbot has detected a new failure on builder flang-aarch64-dylib running on linaro-flang-aarch64-dylib while building clang,llvm at step 5 "build-unified-tree".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/50/builds/9522

Here is the relevant piece of the build log for the reference
Step 5 (build-unified-tree) failure: build (failure)
...
32.412 [3993/21/2812] Building TestTransformDialectExtensionTypes.h.inc...
32.412 [3993/20/2813] Building TestTilingInterfaceTransformOps.cpp.inc...
32.412 [3993/19/2814] Generating ../../../../share/man/man1/scan-build.1
32.413 [3993/18/2815] Generating ../../../../lib/libscanbuild/compilation.py
32.413 [3993/17/2816] Generating ../../../../lib/libscanbuild/intercept.py
32.413 [3993/16/2817] Generating ../../../../lib/libscanbuild/report.py
32.413 [3993/15/2818] Building TestTilingInterfaceTransformOps.h.inc...
32.414 [3993/14/2819] Building CXX object tools/mlir/tools/tblgen-lsp-server/CMakeFiles/tblgen-lsp-server.dir/tblgen-lsp-server.cpp.o
32.414 [3993/13/2820] Generating ../../../../lib/libscanbuild/resources/scanview.css
32.434 [3993/12/2821] Building Options.inc...
FAILED: tools/clang/include/clang/Driver/Options.inc /home/tcwg-buildbot/worker/flang-aarch64-dylib/build/tools/clang/include/clang/Driver/Options.inc 
cd /home/tcwg-buildbot/worker/flang-aarch64-dylib/build && /home/tcwg-buildbot/worker/flang-aarch64-dylib/build/bin/llvm-tblgen -gen-opt-parser-defs -I /home/tcwg-buildbot/worker/flang-aarch64-dylib/llvm-project/clang/include/clang/Driver -I/home/tcwg-buildbot/worker/flang-aarch64-dylib/llvm-project/clang/include -I/home/tcwg-buildbot/worker/flang-aarch64-dylib/build/tools/clang/include -I/home/tcwg-buildbot/worker/flang-aarch64-dylib/build/include -I/home/tcwg-buildbot/worker/flang-aarch64-dylib/llvm-project/llvm/include /home/tcwg-buildbot/worker/flang-aarch64-dylib/llvm-project/clang/include/clang/Driver/Options.td --write-if-changed -o tools/clang/include/clang/Driver/Options.inc -d tools/clang/include/clang/Driver/Options.inc.d
/home/tcwg-buildbot/worker/flang-aarch64-dylib/llvm-project/clang/include/clang/Driver/Options.td:4356:3: error: Expected comma before next argument
  Values<"all,this,none">,
  ^
32.441 [3993/11/2822] Linking CXX static library lib/libLLVMDlltoolDriver.a
32.441 [3993/10/2823] Linking CXX static library lib/libLLVMInterfaceStub.a
32.443 [3993/9/2824] Linking CXX static library lib/libLLVMLibDriver.a
32.444 [3993/8/2825] Linking CXX static library lib/libLLVMDebugInfoDWARF.a
32.444 [3993/7/2826] Linking CXX static library lib/libLLVMObjCopy.a
32.445 [3993/6/2827] Linking CXX static library lib/libLLVMRuntimeDyld.a
32.446 [3993/5/2828] Linking CXX static library lib/libLLVMXRay.a
32.450 [3993/4/2829] Linking CXX static library lib/libLLVMObjectYAML.a
32.453 [3993/3/2830] Linking CXX static library lib/libLLVMDebugInfoPDB.a
32.458 [3993/2/2831] Linking CXX static library lib/libLLVMJITLink.a
32.651 [3993/1/2832] Linking CXX executable bin/clang-tblgen
ninja: build stopped: subcommand failed.

@llvm-ci
Copy link
Collaborator

llvm-ci commented Jan 28, 2025

LLVM Buildbot has detected a new failure on builder flang-aarch64-release running on linaro-flang-aarch64-release while building clang,llvm at step 5 "build-unified-tree".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/172/builds/8899

Here is the relevant piece of the build log for the reference
Step 5 (build-unified-tree) failure: build (failure)
...
13.969 [3681/21/3116] Building AttrPCHWrite.inc...
13.969 [3681/20/3117] Building Nodes.inc...
13.969 [3681/19/3118] Building NodeClasses.inc...
13.969 [3681/18/3119] Building Checkers.inc...
13.969 [3681/17/3120] Building arm_fp16.h...
13.970 [3681/16/3121] Building arm_bf16.h...
13.970 [3681/15/3122] Building arm_cde.h...
13.972 [3681/14/3123] Building arm_vector_types.h...
13.973 [3681/13/3124] Building AttrParsedAttrImpl.inc...
13.974 [3681/12/3125] Building Options.inc...
FAILED: tools/clang/include/clang/Driver/Options.inc /home/tcwg-buildbot/worker/flang-aarch64-release/build/tools/clang/include/clang/Driver/Options.inc 
cd /home/tcwg-buildbot/worker/flang-aarch64-release/build && /home/tcwg-buildbot/worker/flang-aarch64-release/build/bin/llvm-tblgen -gen-opt-parser-defs -I /home/tcwg-buildbot/worker/flang-aarch64-release/llvm-project/clang/include/clang/Driver -I/home/tcwg-buildbot/worker/flang-aarch64-release/llvm-project/clang/include -I/home/tcwg-buildbot/worker/flang-aarch64-release/build/tools/clang/include -I/home/tcwg-buildbot/worker/flang-aarch64-release/build/include -I/home/tcwg-buildbot/worker/flang-aarch64-release/llvm-project/llvm/include /home/tcwg-buildbot/worker/flang-aarch64-release/llvm-project/clang/include/clang/Driver/Options.td --write-if-changed -o tools/clang/include/clang/Driver/Options.inc -d tools/clang/include/clang/Driver/Options.inc.d
/home/tcwg-buildbot/worker/flang-aarch64-release/llvm-project/clang/include/clang/Driver/Options.td:4356:3: error: Expected comma before next argument
  Values<"all,this,none">,
  ^
13.977 [3681/11/3126] Building arm_sme.h...
14.005 [3681/10/3127] Building arm_mve.h...
14.044 [3681/9/3128] Building arm_sve.h...
14.073 [3681/8/3129] Building riscv_vector_builtins.inc...
14.078 [3681/7/3130] Building riscv_vector_builtin_sema.inc...
14.110 [3681/6/3131] Building arm_neon.h...
14.137 [3681/5/3132] Building riscv_vector_builtin_cg.inc...
14.282 [3681/4/3133] Building CXX object lib/Object/CMakeFiles/LLVMObject.dir/IRSymtab.cpp.o
17.545 [3681/3/3134] Building CXX object lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/AsmParser.cpp.o
23.246 [3681/2/3135] Building CXX object lib/CodeGen/AsmPrinter/CMakeFiles/LLVMAsmPrinter.dir/AsmPrinter.cpp.o
27.555 [3681/1/3136] Building CXX object lib/LTO/CMakeFiles/LLVMLTO.dir/LTO.cpp.o
ninja: build stopped: subcommand failed.

@kazutakahirata
Copy link
Contributor

I've fixed the build failure with 8578b81.

@SLTozer
Copy link
Contributor Author

SLTozer commented Jan 28, 2025

Apologies, I didn't expect this PR to trigger a failure and didn't catch the triggered failures; thank you for catching this so quickly!

SLTozer added a commit to SLTozer/llvm-project that referenced this pull request Jan 28, 2025
@llvm-ci
Copy link
Collaborator

llvm-ci commented Jan 28, 2025

LLVM Buildbot has detected a new failure on builder llvm-x86_64-debian-dylib running on gribozavr4 while building clang,llvm at step 5 "build-unified-tree".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/60/builds/18238

Here is the relevant piece of the build log for the reference
Step 5 (build-unified-tree) failure: build (failure)
...
10.694 [6176/96/887] Copying clang's avx10_2convertintrin.h...
10.696 [6175/96/888] Copying clang's avx10_2_512niintrin.h...
10.697 [6174/96/889] Copying clang's avx10_2copyintrin.h...
10.699 [6173/96/890] Building SystemZGenAsmMatcher.inc...
10.701 [6172/96/891] Copying clang's avx10_2_512satcvtdsintrin.h...
10.702 [6171/96/892] Copying clang's avx10_2minmaxintrin.h...
10.711 [6170/96/893] Copying clang's avx10_2niintrin.h...
10.721 [6169/96/894] Copying clang's avx10_2satcvtdsintrin.h...
10.747 [6168/96/895] Building SystemZGenMCCodeEmitter.inc...
10.767 [6167/96/896] Building Options.inc...
FAILED: tools/clang/include/clang/Driver/Options.inc /b/1/llvm-x86_64-debian-dylib/build/tools/clang/include/clang/Driver/Options.inc 
cd /b/1/llvm-x86_64-debian-dylib/build && /b/1/llvm-x86_64-debian-dylib/build/bin/llvm-tblgen -gen-opt-parser-defs -I /b/1/llvm-x86_64-debian-dylib/llvm-project/clang/include/clang/Driver -I/b/1/llvm-x86_64-debian-dylib/llvm-project/clang/include -I/b/1/llvm-x86_64-debian-dylib/build/tools/clang/include -I/b/1/llvm-x86_64-debian-dylib/build/include -I/b/1/llvm-x86_64-debian-dylib/llvm-project/llvm/include /b/1/llvm-x86_64-debian-dylib/llvm-project/clang/include/clang/Driver/Options.td --write-if-changed -o tools/clang/include/clang/Driver/Options.inc -d tools/clang/include/clang/Driver/Options.inc.d
/b/1/llvm-x86_64-debian-dylib/llvm-project/clang/include/clang/Driver/Options.td:4356:3: error: Expected comma before next argument
  Values<"all,this,none">,
  ^
10.767 [6167/95/897] Linking CXX static library lib/libLLVMARMUtils.a
10.767 [6167/94/898] Copying clang's avx10_2satcvtintrin.h...
10.767 [6167/93/899] Copying clang's avx2intrin.h...
10.767 [6167/92/900] Copying clang's avx512bf16intrin.h...
10.767 [6167/91/901] Copying clang's avx512bitalgintrin.h...
10.788 [6167/90/902] Copying clang's avx512bwintrin.h...
10.791 [6167/89/903] Building SystemZGenDisassemblerTables.inc...
10.800 [6167/88/904] Building AArch64GenFastISel.inc...
10.846 [6167/87/905] Building WebAssemblyGenAsmWriter.inc...
10.881 [6167/86/906] Building WebAssemblyGenDisassemblerTables.inc...
10.919 [6167/85/907] Building SPIRVGenTables.inc...
10.947 [6167/84/908] Building WebAssemblyGenRegisterInfo.inc...
10.958 [6167/83/909] Building WebAssemblyGenAsmMatcher.inc...
11.113 [6167/82/910] Building PPCGenFastISel.inc...
11.234 [6167/81/911] Building WebAssemblyGenMCCodeEmitter.inc...
11.250 [6167/80/912] Building VEGenRegisterInfo.inc...
11.294 [6167/79/913] Building RISCVTargetParserDef.inc...
11.342 [6167/78/914] Building WebAssemblyGenDAGISel.inc...
11.395 [6167/77/915] Building XCoreGenCallingConv.inc...
11.413 [6167/76/916] Building WebAssemblyGenSubtargetInfo.inc...
11.478 [6167/75/917] Building VEGenAsmMatcher.inc...
11.490 [6167/74/918] Building XCoreGenAsmWriter.inc...
11.538 [6167/73/919] Building WebAssemblyGenFastISel.inc...
11.593 [6167/72/920] Building XCoreGenDisassemblerTables.inc...
11.678 [6167/71/921] Building XCoreGenRegisterInfo.inc...
11.811 [6167/70/922] Building XCoreGenDAGISel.inc...
11.821 [6167/69/923] Building VEGenAsmWriter.inc...
11.826 [6167/68/924] Building WebAssemblyGenInstrInfo.inc...
11.870 [6167/67/925] Building XCoreGenSubtargetInfo.inc...
11.923 [6167/66/926] Building XCoreGenInstrInfo.inc...
11.940 [6167/65/927] Building VEGenDisassemblerTables.inc...
11.979 [6167/64/928] Building VEGenSubtargetInfo.inc...
11.983 [6167/63/929] Building PPCGenDAGISel.inc...
12.123 [6167/62/930] Building AArch64GenGlobalISel.inc...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Jan 28, 2025

LLVM Buildbot has detected a new failure on builder clang-x86_64-debian-fast running on gribozavr4 while building clang,llvm at step 5 "build-unified-tree".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/56/builds/17382

Here is the relevant piece of the build log for the reference
Step 5 (build-unified-tree) failure: build (failure)
...
3.749 [4996/96/1072] Building ObjcopyOpts.inc...
3.753 [4995/96/1073] Building WebAssemblyGenRegisterInfo.inc...
3.754 [4994/96/1074] Building CXX object tools/llvm-mt/CMakeFiles/llvm-mt.dir/llvm-mt-driver.cpp.o
3.755 [4993/96/1075] Building SystemZGenDisassemblerTables.inc...
3.756 [4992/96/1076] Building CXX object tools/llvm-mt/CMakeFiles/llvm-mt.dir/llvm-mt.cpp.o
3.756 [4991/96/1077] Building WebAssemblyGenMCCodeEmitter.inc...
3.757 [4990/96/1078] Building ObjdumpOpts.inc...
3.757 [4989/96/1079] Building InstallNameToolOpts.inc...
3.759 [4988/96/1080] Building Opts.inc...
3.759 [4987/96/1081] Building Options.inc...
FAILED: tools/clang/include/clang/Driver/Options.inc /b/1/clang-x86_64-debian-fast/llvm.obj/tools/clang/include/clang/Driver/Options.inc 
cd /b/1/clang-x86_64-debian-fast/llvm.obj && /b/1/clang-x86_64-debian-fast/llvm.obj/bin/llvm-tblgen -gen-opt-parser-defs -I /b/1/clang-x86_64-debian-fast/llvm.src/clang/include/clang/Driver -I/b/1/clang-x86_64-debian-fast/llvm.src/clang/include -I/b/1/clang-x86_64-debian-fast/llvm.obj/tools/clang/include -I/b/1/clang-x86_64-debian-fast/llvm.obj/include -I/b/1/clang-x86_64-debian-fast/llvm.src/llvm/include /b/1/clang-x86_64-debian-fast/llvm.src/clang/include/clang/Driver/Options.td --write-if-changed -o tools/clang/include/clang/Driver/Options.inc -d tools/clang/include/clang/Driver/Options.inc.d
/b/1/clang-x86_64-debian-fast/llvm.src/clang/include/clang/Driver/Options.td:4356:3: error: Expected comma before next argument
  Values<"all,this,none">,
  ^
3.760 [4987/95/1082] Building TapiOpts.inc...
3.760 [4987/94/1083] Building SPIRVGenTables.inc...
3.761 [4987/93/1084] Building Opts.inc...
3.761 [4987/92/1085] Building OtoolOpts.inc...
3.762 [4987/91/1086] Building Opts.inc...
3.762 [4987/90/1087] Building BitcodeStripOpts.inc...
3.763 [4987/89/1088] Building WindresOpts.inc...
3.784 [4987/88/1089] Building SystemZGenGNUAsmWriter.inc...
3.788 [4987/87/1090] Building SystemZGenHLASMAsmWriter.inc...
3.797 [4987/86/1091] Building VEGenCallingConv.inc...
3.799 [4987/85/1092] Building SystemZGenMCCodeEmitter.inc...
3.837 [4987/84/1093] Building PPCGenFastISel.inc...
3.850 [4987/83/1094] Building WebAssemblyGenSubtargetInfo.inc...
3.854 [4987/82/1095] Linking CXX executable bin/llvm-mt
3.896 [4987/81/1096] Building WebAssemblyGenFastISel.inc...
3.915 [4987/80/1097] Building WebAssemblyGenDAGISel.inc...
3.959 [4987/79/1098] Building XCoreGenCallingConv.inc...
4.021 [4987/78/1099] Building VEGenRegisterInfo.inc...
4.046 [4987/77/1100] Building XCoreGenDisassemblerTables.inc...
4.057 [4987/76/1101] Building PPCGenGlobalISel.inc...
4.065 [4987/75/1102] Building XCoreGenDAGISel.inc...
4.086 [4987/74/1103] Building XCoreGenAsmWriter.inc...
4.098 [4987/73/1104] Building WebAssemblyGenInstrInfo.inc...
4.154 [4987/72/1105] Building PPCGenDAGISel.inc...
4.245 [4987/71/1106] Building VEGenMCCodeEmitter.inc...
4.245 [4987/70/1107] Building XCoreGenRegisterInfo.inc...
4.254 [4987/69/1108] Building XCoreGenInstrInfo.inc...
4.260 [4987/68/1109] Building VEGenDisassemblerTables.inc...
4.260 [4987/67/1110] Building AArch64GenFastISel.inc...
4.284 [4987/66/1111] Building VEGenAsmMatcher.inc...
4.313 [4987/65/1112] Building VEGenAsmWriter.inc...
4.339 [4987/64/1113] Building XCoreGenSubtargetInfo.inc...
4.340 [4987/63/1114] Building NVPTXGenInstrInfo.inc...
4.365 [4987/62/1115] Building VEGenSubtargetInfo.inc...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Jan 29, 2025

LLVM Buildbot has detected a new failure on builder bolt-x86_64-ubuntu-nfc running on bolt-worker while building clang,llvm at step 8 "test-build-bolt-check-bolt".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/92/builds/12795

Here is the relevant piece of the build log for the reference
Step 8 (test-build-bolt-check-bolt) failure: test (failure)
...
0.016 [955/18/7] Performing build step for 'bolt_rt'
ninja: no work to do.
0.018 [954/18/8] Building CXX object tools/llvm-config/CMakeFiles/llvm-config.dir/llvm-config.cpp.o
0.018 [953/18/9] Building Opts.inc...
0.021 [951/18/10] Generating VCSVersion.inc
0.021 [948/18/11] Building Options.inc...
0.029 [942/18/12] Building Opts.inc...
0.029 [940/18/13] No install step for 'bolt_rt'
0.037 [939/18/14] Linking CXX executable bin/count
0.041 [938/18/15] Building Options.inc...
FAILED: tools/clang/include/clang/Driver/Options.inc /home/worker/bolt-worker2/bolt-x86_64-ubuntu-nfc/build/tools/clang/include/clang/Driver/Options.inc 
cd /home/worker/bolt-worker2/bolt-x86_64-ubuntu-nfc/build && /home/worker/bolt-worker2/bolt-x86_64-ubuntu-nfc/build/bin/llvm-tblgen -gen-opt-parser-defs -I /home/worker/bolt-worker2/bolt-x86_64-ubuntu-nfc/llvm-project/clang/include/clang/Driver -I/home/worker/bolt-worker2/bolt-x86_64-ubuntu-nfc/llvm-project/clang/include -I/home/worker/bolt-worker2/bolt-x86_64-ubuntu-nfc/build/tools/clang/include -I/home/worker/bolt-worker2/bolt-x86_64-ubuntu-nfc/build/include -I/home/worker/bolt-worker2/bolt-x86_64-ubuntu-nfc/llvm-project/llvm/include /home/worker/bolt-worker2/bolt-x86_64-ubuntu-nfc/llvm-project/clang/include/clang/Driver/Options.td --write-if-changed -o tools/clang/include/clang/Driver/Options.inc -d tools/clang/include/clang/Driver/Options.inc.d
/home/worker/bolt-worker2/bolt-x86_64-ubuntu-nfc/llvm-project/clang/include/clang/Driver/Options.td:4356:3: error: Expected comma before next argument
  Values<"all,this,none">,
  ^
0.046 [938/17/16] Building ObjcopyOpts.inc...
0.049 [938/16/17] Completed 'bolt_rt'
0.146 [938/15/18] Linking CXX executable bin/not
0.157 [938/14/19] Linking CXX executable bin/split-file
0.157 [938/13/20] Linking CXX executable bin/FileCheck
0.165 [938/12/21] Linking CXX executable bin/llvm-config
0.183 [938/11/22] Linking CXX executable bin/llvm-strings
0.311 [938/10/23] Linking CXX executable bin/clang-tblgen
0.537 [938/9/24] Linking CXX executable bin/llvm-mc
0.932 [938/8/25] Linking CXX executable bin/llvm-nm
0.970 [938/7/26] Linking CXX executable bin/llvm-dwarfdump
1.547 [938/6/27] Linking CXX executable tools/bolt/unittests/Profile/ProfileTests
1.593 [938/5/28] Linking CXX executable bin/llvm-bat-dump
3.162 [938/4/29] Linking CXX executable bin/llvm-dwp
3.769 [938/3/30] Linking CXX executable tools/bolt/unittests/Core/CoreTests
4.894 [938/2/31] Linking CXX executable bin/llc
5.435 [938/1/32] Linking CXX executable bin/lld
ninja: build stopped: subcommand failed.

@llvm-ci
Copy link
Collaborator

llvm-ci commented Jan 29, 2025

LLVM Buildbot has detected a new failure on builder premerge-monolithic-linux running on premerge-linux-1 while building clang,llvm at step 6 "build-unified-tree".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/153/builds/21224

Here is the relevant piece of the build log for the reference
Step 6 (build-unified-tree) failure: build (failure)
0.008 [3601/6/1] Performing build step for 'bolt_rt'
ninja: no work to do.
0.012 [3600/6/2] No install step for 'bolt_rt'
0.014 [3599/6/3] Building CXX object tools/llvm-config/CMakeFiles/llvm-config.dir/llvm-config.cpp.o
0.017 [3598/6/4] Generating VCSRevision.h
0.026 [3595/8/5] Generating VCSVersion.inc
0.027 [3594/8/6] Completed 'bolt_rt'
0.027 [3594/7/7] Generating VCSVersion.inc
0.031 [3593/7/8] Building Options.inc...
FAILED: tools/clang/include/clang/Driver/Options.inc /build/buildbot/premerge-monolithic-linux/build/tools/clang/include/clang/Driver/Options.inc 
cd /build/buildbot/premerge-monolithic-linux/build && /build/buildbot/premerge-monolithic-linux/build/bin/llvm-tblgen -gen-opt-parser-defs -I /build/buildbot/premerge-monolithic-linux/llvm-project/clang/include/clang/Driver -I/build/buildbot/premerge-monolithic-linux/llvm-project/clang/include -I/build/buildbot/premerge-monolithic-linux/build/tools/clang/include -I/build/buildbot/premerge-monolithic-linux/build/include -I/build/buildbot/premerge-monolithic-linux/llvm-project/llvm/include /build/buildbot/premerge-monolithic-linux/llvm-project/clang/include/clang/Driver/Options.td --write-if-changed -o tools/clang/include/clang/Driver/Options.inc -d tools/clang/include/clang/Driver/Options.inc.d
/build/buildbot/premerge-monolithic-linux/llvm-project/clang/include/clang/Driver/Options.td:4356:3: error: Expected comma before next argument
  Values<"all,this,none">,
  ^
0.088 [3593/6/9] Linking CXX executable bin/llvm-config
0.644 [3593/5/10] Building CXX object tools/flang/lib/Common/CMakeFiles/FortranCommon.dir/Version.cpp.o
1.313 [3593/4/11] Building CXX object tools/bolt/lib/Utils/CMakeFiles/LLVMBOLTUtils.dir/CommandLineOpts.cpp.o
2.710 [3593/3/12] Building CXX object lib/Object/CMakeFiles/LLVMObject.dir/IRSymtab.cpp.o
11.201 [3593/2/13] Building CXX object lib/CodeGen/AsmPrinter/CMakeFiles/LLVMAsmPrinter.dir/AsmPrinter.cpp.o
12.631 [3593/1/14] Building CXX object lib/LTO/CMakeFiles/LLVMLTO.dir/LTO.cpp.o
ninja: build stopped: subcommand failed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backend:X86 clang:codegen IR generation bugs: mangling, exceptions, etc. clang:driver 'clang' and 'clang++' user-facing binaries. Not 'clang-cl' clang Clang issues not falling into any other category debuginfo llvm:transforms

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants