[llvm] [Inline] Remove redundant run lines in tests (PR #179959)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Feb 5 07:19:58 PST 2026
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-llvm-transforms
Author: Aiden Grossman (boomanaiden154)
<details>
<summary>Changes</summary>
625038d5d5f406385f44983ac2a442b20ad7b241 added NewPM CGSCC coverage to all of the inliner tests. Now that the NewPM is the default for the middle end, both check lines cover the same thing (with -passes="inline" expanding to -passes="cgscc(inline)"). Given that, remove them to get rid of the redundancy and make the tests run slightly faster (not measured).
---
Patch is 42.79 KiB, truncated to 20.00 KiB below, full version: https://github.com/llvm/llvm-project/pull/179959.diff
80 Files Affected:
- (modified) llvm/test/Transforms/Inline/2007-04-15-InlineEH.ll (-1)
- (modified) llvm/test/Transforms/Inline/2007-06-25-WeakInline.ll (-1)
- (modified) llvm/test/Transforms/Inline/2007-12-19-InlineNoUnwind.ll (-1)
- (modified) llvm/test/Transforms/Inline/2008-09-02-NoInline.ll (-1)
- (modified) llvm/test/Transforms/Inline/2009-01-08-NoInlineDynamicAlloca.ll (-1)
- (modified) llvm/test/Transforms/Inline/AArch64/inline-target-attr.ll (-1)
- (modified) llvm/test/Transforms/Inline/AArch64/switch.ll (-1)
- (modified) llvm/test/Transforms/Inline/AMDGPU/inline-amdgpu-dx10-clamp.ll (-1)
- (modified) llvm/test/Transforms/Inline/AMDGPU/inline-amdgpu-ieee.ll (-1)
- (modified) llvm/test/Transforms/Inline/AMDGPU/inline-atomicrmw-md-preserve.ll (-1)
- (modified) llvm/test/Transforms/Inline/AMDGPU/inline-denormal-fp-math.ll (-1)
- (modified) llvm/test/Transforms/Inline/AMDGPU/inline-target-cpu.ll (-1)
- (modified) llvm/test/Transforms/Inline/AMDGPU/inline-target-feature-sram-ecc.ll (-1)
- (modified) llvm/test/Transforms/Inline/AMDGPU/inline-target-feature-xnack.ll (-1)
- (modified) llvm/test/Transforms/Inline/ARM/inline-dotprod.ll (-1)
- (modified) llvm/test/Transforms/Inline/ARM/inline-target-attr.ll (-1)
- (modified) llvm/test/Transforms/Inline/LoongArch/inline-target-features.ll (-1)
- (modified) llvm/test/Transforms/Inline/PowerPC/inline-target-attr.ll (-1)
- (modified) llvm/test/Transforms/Inline/RISCV/inline-target-features.ll (-1)
- (modified) llvm/test/Transforms/Inline/SystemZ/inline-target-attr.ll (-1)
- (modified) llvm/test/Transforms/Inline/X86/extractvalue.ll (-1)
- (modified) llvm/test/Transforms/Inline/X86/inline-target-attr.ll (-1)
- (modified) llvm/test/Transforms/Inline/X86/insertvalue.ll (-1)
- (modified) llvm/test/Transforms/Inline/X86/switch.ll (-1)
- (modified) llvm/test/Transforms/Inline/access-attributes-prop.ll (-1)
- (modified) llvm/test/Transforms/Inline/alloca-bonus.ll (-1)
- (modified) llvm/test/Transforms/Inline/alloca-dbgdeclare.ll (-1)
- (modified) llvm/test/Transforms/Inline/alloca_test.ll (-1)
- (modified) llvm/test/Transforms/Inline/array-alloca.ll (-1)
- (modified) llvm/test/Transforms/Inline/assumptions-from-callsite-attrs.ll (-1)
- (modified) llvm/test/Transforms/Inline/attributes.ll (-1)
- (modified) llvm/test/Transforms/Inline/blockaddress.ll (-1)
- (modified) llvm/test/Transforms/Inline/byval.ll (-1)
- (modified) llvm/test/Transforms/Inline/byval_lifetime.ll (-1)
- (modified) llvm/test/Transforms/Inline/call-site-attrs.ll (-1)
- (modified) llvm/test/Transforms/Inline/callbr.ll (-1)
- (modified) llvm/test/Transforms/Inline/casts.ll (-1)
- (modified) llvm/test/Transforms/Inline/comdat-ipo.ll (-1)
- (modified) llvm/test/Transforms/Inline/crash-lifetime-marker.ll (-1)
- (modified) llvm/test/Transforms/Inline/frameescape.ll (-1)
- (modified) llvm/test/Transforms/Inline/ignore-debug-info.ll (-2)
- (modified) llvm/test/Transforms/Inline/inline-assume.ll (-1)
- (modified) llvm/test/Transforms/Inline/inline-byval-bonus.ll (-1)
- (modified) llvm/test/Transforms/Inline/inline-call-with-asm-call.ll (-3)
- (modified) llvm/test/Transforms/Inline/inline-constexpr-addrspacecast-argument.ll (-1)
- (modified) llvm/test/Transforms/Inline/inline-deferred-instsimplify.ll (-1)
- (modified) llvm/test/Transforms/Inline/inline-drop-attributes.ll (-1)
- (modified) llvm/test/Transforms/Inline/inline-fast-math-flags.ll (-1)
- (modified) llvm/test/Transforms/Inline/inline-funclets.ll (-1)
- (modified) llvm/test/Transforms/Inline/inline-invoke-with-asm-call.ll (-1)
- (modified) llvm/test/Transforms/Inline/inline-no-builtin-compatible.ll (-1)
- (modified) llvm/test/Transforms/Inline/inline-vla.ll (-1)
- (modified) llvm/test/Transforms/Inline/inline_cleanup.ll (-1)
- (modified) llvm/test/Transforms/Inline/inline_constprop.ll (-1)
- (modified) llvm/test/Transforms/Inline/inline_dbg_declare.ll (-1)
- (modified) llvm/test/Transforms/Inline/inline_invoke.ll (-1)
- (modified) llvm/test/Transforms/Inline/inline_prune.ll (-1)
- (modified) llvm/test/Transforms/Inline/inline_returns_twice.ll (-1)
- (modified) llvm/test/Transforms/Inline/inline_ssp.ll (-1)
- (modified) llvm/test/Transforms/Inline/inline_unreachable-2.ll (-1)
- (modified) llvm/test/Transforms/Inline/inline_unreachable.ll (-1)
- (modified) llvm/test/Transforms/Inline/invoke-cleanup.ll (-1)
- (modified) llvm/test/Transforms/Inline/invoke-cost.ll (-1)
- (modified) llvm/test/Transforms/Inline/invoke_test-1.ll (-1)
- (modified) llvm/test/Transforms/Inline/invoke_test-3.ll (-1)
- (modified) llvm/test/Transforms/Inline/local-as-metadata-undominated-use.ll (-1)
- (modified) llvm/test/Transforms/Inline/nested-inline.ll (-1)
- (modified) llvm/test/Transforms/Inline/noinline-recursive-fn.ll (-1)
- (modified) llvm/test/Transforms/Inline/nonnull.ll (-1)
- (modified) llvm/test/Transforms/Inline/parallel-loop-md.ll (-1)
- (modified) llvm/test/Transforms/Inline/pr21206.ll (-1)
- (modified) llvm/test/Transforms/Inline/pr26698.ll (-1)
- (modified) llvm/test/Transforms/Inline/profile-meta.ll (-1)
- (modified) llvm/test/Transforms/Inline/recursive.ll (-1)
- (modified) llvm/test/Transforms/Inline/ret_attr_align_and_noundef.ll (-1)
- (modified) llvm/test/Transforms/Inline/simplify-instruction-computeKnownFPClass-context.ll (-1)
- (modified) llvm/test/Transforms/Inline/switch.ll (-1)
- (modified) llvm/test/Transforms/Inline/vector-bonus.ll (-1)
- (modified) llvm/test/Transforms/Inline/vector-no-bonus.ll (-1)
- (modified) llvm/test/Transforms/Inline/zero-cost.ll (-1)
``````````diff
diff --git a/llvm/test/Transforms/Inline/2007-04-15-InlineEH.ll b/llvm/test/Transforms/Inline/2007-04-15-InlineEH.ll
index bc5fe13e7f1d6..a891098c44d7d 100644
--- a/llvm/test/Transforms/Inline/2007-04-15-InlineEH.ll
+++ b/llvm/test/Transforms/Inline/2007-04-15-InlineEH.ll
@@ -1,5 +1,4 @@
; RUN: opt < %s -passes=inline -S | FileCheck %s
-; RUN: opt < %s -passes='cgscc(inline)' -S | FileCheck %s
; PR1335
target triple = "i686-pc-linux-gnu"
diff --git a/llvm/test/Transforms/Inline/2007-06-25-WeakInline.ll b/llvm/test/Transforms/Inline/2007-06-25-WeakInline.ll
index a1519db7e445e..952f8b7b1b0dd 100644
--- a/llvm/test/Transforms/Inline/2007-06-25-WeakInline.ll
+++ b/llvm/test/Transforms/Inline/2007-06-25-WeakInline.ll
@@ -1,5 +1,4 @@
; RUN: opt < %s -passes=inline -S | FileCheck %s
-; RUN: opt < %s -passes='cgscc(inline)' -S | FileCheck %s
; 'bar' can be overridden at link-time, don't inline it.
define weak void @bar() {
diff --git a/llvm/test/Transforms/Inline/2007-12-19-InlineNoUnwind.ll b/llvm/test/Transforms/Inline/2007-12-19-InlineNoUnwind.ll
index 70ff6e744b5e3..b03c4ed21d68a 100644
--- a/llvm/test/Transforms/Inline/2007-12-19-InlineNoUnwind.ll
+++ b/llvm/test/Transforms/Inline/2007-12-19-InlineNoUnwind.ll
@@ -1,5 +1,4 @@
; RUN: opt < %s -passes=inline -S | FileCheck %s
-; RUN: opt < %s -passes='cgscc(inline)' -S | FileCheck %s
declare i1 @extern()
diff --git a/llvm/test/Transforms/Inline/2008-09-02-NoInline.ll b/llvm/test/Transforms/Inline/2008-09-02-NoInline.ll
index c34e9a530fe5e..e6c068a845cd5 100644
--- a/llvm/test/Transforms/Inline/2008-09-02-NoInline.ll
+++ b/llvm/test/Transforms/Inline/2008-09-02-NoInline.ll
@@ -1,5 +1,4 @@
; RUN: opt < %s -passes=inline -S | FileCheck %s
-; RUN: opt < %s -passes='cgscc(inline)' -S | FileCheck %s
define i32 @fn2() noinline {
; CHECK-LABEL: define i32 @fn2()
diff --git a/llvm/test/Transforms/Inline/2009-01-08-NoInlineDynamicAlloca.ll b/llvm/test/Transforms/Inline/2009-01-08-NoInlineDynamicAlloca.ll
index 12e1f112573f4..b418912a93044 100644
--- a/llvm/test/Transforms/Inline/2009-01-08-NoInlineDynamicAlloca.ll
+++ b/llvm/test/Transforms/Inline/2009-01-08-NoInlineDynamicAlloca.ll
@@ -1,5 +1,4 @@
; RUN: opt < %s -passes=inline -S | FileCheck %s
-; RUN: opt < %s -passes='cgscc(inline)' -S | FileCheck %s
; Do not inline calls with variable-sized alloca.
@q = common global ptr null
diff --git a/llvm/test/Transforms/Inline/AArch64/inline-target-attr.ll b/llvm/test/Transforms/Inline/AArch64/inline-target-attr.ll
index 433a9c7bdd23b..355efbb61eae8 100644
--- a/llvm/test/Transforms/Inline/AArch64/inline-target-attr.ll
+++ b/llvm/test/Transforms/Inline/AArch64/inline-target-attr.ll
@@ -1,5 +1,4 @@
; RUN: opt < %s -mtriple=aarch64-unknown-linux-gnu -S -passes=inline | FileCheck %s
-; RUN: opt < %s -mtriple=aarch64-unknown-linux-gnu -S -passes='cgscc(inline)' | FileCheck %s
; Check that we only inline when we have compatible target attributes.
define i32 @foo() #0 {
diff --git a/llvm/test/Transforms/Inline/AArch64/switch.ll b/llvm/test/Transforms/Inline/AArch64/switch.ll
index 682f5ecc0bc08..bcb67c8114b4d 100644
--- a/llvm/test/Transforms/Inline/AArch64/switch.ll
+++ b/llvm/test/Transforms/Inline/AArch64/switch.ll
@@ -1,5 +1,4 @@
; RUN: opt < %s -passes=inline -inline-threshold=20 -S -mtriple=aarch64-none-linux | FileCheck %s
-; RUN: opt < %s -passes='cgscc(inline)' -inline-threshold=20 -S -mtriple=aarch64-none-linux | FileCheck %s
define i32 @callee_range(i32 %a, ptr %P) {
switch i32 %a, label %sw.default [
diff --git a/llvm/test/Transforms/Inline/AMDGPU/inline-amdgpu-dx10-clamp.ll b/llvm/test/Transforms/Inline/AMDGPU/inline-amdgpu-dx10-clamp.ll
index 88fc2a32afd8f..a6b481ea94b75 100644
--- a/llvm/test/Transforms/Inline/AMDGPU/inline-amdgpu-dx10-clamp.ll
+++ b/llvm/test/Transforms/Inline/AMDGPU/inline-amdgpu-dx10-clamp.ll
@@ -1,5 +1,4 @@
; RUN: opt -mtriple=amdgcn-amd-amdhsa -S -passes=inline < %s | FileCheck %s
-; RUN: opt -mtriple=amdgcn-amd-amdhsa -S -passes='cgscc(inline)' < %s | FileCheck %s
define i32 @func_default() #0 {
ret i32 0
diff --git a/llvm/test/Transforms/Inline/AMDGPU/inline-amdgpu-ieee.ll b/llvm/test/Transforms/Inline/AMDGPU/inline-amdgpu-ieee.ll
index 64ab45d55c69d..45b17b012fcb8 100644
--- a/llvm/test/Transforms/Inline/AMDGPU/inline-amdgpu-ieee.ll
+++ b/llvm/test/Transforms/Inline/AMDGPU/inline-amdgpu-ieee.ll
@@ -1,5 +1,4 @@
; RUN: opt -mtriple=amdgcn-amd-amdhsa -S -passes=inline < %s | FileCheck %s
-; RUN: opt -mtriple=amdgcn-amd-amdhsa -S -passes='cgscc(inline)' < %s | FileCheck %s
define i32 @func_default() #0 {
ret i32 0
diff --git a/llvm/test/Transforms/Inline/AMDGPU/inline-atomicrmw-md-preserve.ll b/llvm/test/Transforms/Inline/AMDGPU/inline-atomicrmw-md-preserve.ll
index 569cc91a867c3..6cf09118ba429 100644
--- a/llvm/test/Transforms/Inline/AMDGPU/inline-atomicrmw-md-preserve.ll
+++ b/llvm/test/Transforms/Inline/AMDGPU/inline-atomicrmw-md-preserve.ll
@@ -1,6 +1,5 @@
; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --version 4
; RUN: opt -mtriple=amdgcn-amd-amdhsa -S -passes=inline < %s | FileCheck %s
-; RUN: opt -mtriple=amdgcn-amd-amdhsa -S -passes='cgscc(inline)' < %s | FileCheck %s
; Ensure that custom metadata survives inlining
diff --git a/llvm/test/Transforms/Inline/AMDGPU/inline-denormal-fp-math.ll b/llvm/test/Transforms/Inline/AMDGPU/inline-denormal-fp-math.ll
index 0706e9d972394..28ecfea397aea 100644
--- a/llvm/test/Transforms/Inline/AMDGPU/inline-denormal-fp-math.ll
+++ b/llvm/test/Transforms/Inline/AMDGPU/inline-denormal-fp-math.ll
@@ -1,6 +1,5 @@
; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
; RUN: opt -mtriple=amdgcn-amd-amdhsa -S -passes=inline < %s | FileCheck %s
-; RUN: opt -mtriple=amdgcn-amd-amdhsa -S -passes='cgscc(inline)' < %s | FileCheck %s
define i32 @func_default() {
; CHECK-LABEL: @func_default(
diff --git a/llvm/test/Transforms/Inline/AMDGPU/inline-target-cpu.ll b/llvm/test/Transforms/Inline/AMDGPU/inline-target-cpu.ll
index f860b039ac119..a4c2069633cd0 100644
--- a/llvm/test/Transforms/Inline/AMDGPU/inline-target-cpu.ll
+++ b/llvm/test/Transforms/Inline/AMDGPU/inline-target-cpu.ll
@@ -1,5 +1,4 @@
; RUN: opt -mtriple=amdgcn-amd-amdhsa -S -passes=inline < %s | FileCheck %s
-; RUN: opt -mtriple=amdgcn-amd-amdhsa -S -passes='cgscc(inline)' < %s | FileCheck %s
; CHECK-LABEL: @func_no_target_cpu(
define i32 @func_no_target_cpu() #0 {
diff --git a/llvm/test/Transforms/Inline/AMDGPU/inline-target-feature-sram-ecc.ll b/llvm/test/Transforms/Inline/AMDGPU/inline-target-feature-sram-ecc.ll
index 825053e9f09cc..69a20d8b0077e 100644
--- a/llvm/test/Transforms/Inline/AMDGPU/inline-target-feature-sram-ecc.ll
+++ b/llvm/test/Transforms/Inline/AMDGPU/inline-target-feature-sram-ecc.ll
@@ -1,5 +1,4 @@
; RUN: opt -mtriple=amdgcn-amd-amdhsa -S -passes=inline < %s | FileCheck %s
-; RUN: opt -mtriple=amdgcn-amd-amdhsa -S -passes='cgscc(inline)' < %s | FileCheck %s
; sram-ecc can be safely ignored when inlining, since no intrinisics
; or other directly exposed operations depend on it.
diff --git a/llvm/test/Transforms/Inline/AMDGPU/inline-target-feature-xnack.ll b/llvm/test/Transforms/Inline/AMDGPU/inline-target-feature-xnack.ll
index 36fbab07ac974..99b69758c0ea8 100644
--- a/llvm/test/Transforms/Inline/AMDGPU/inline-target-feature-xnack.ll
+++ b/llvm/test/Transforms/Inline/AMDGPU/inline-target-feature-xnack.ll
@@ -1,5 +1,4 @@
; RUN: opt -mtriple=amdgcn-amd-amdhsa -S -passes=inline < %s | FileCheck %s
-; RUN: opt -mtriple=amdgcn-amd-amdhsa -S -passes='cgscc(inline)' < %s | FileCheck %s
define i32 @func_default() #0 {
ret i32 0
diff --git a/llvm/test/Transforms/Inline/ARM/inline-dotprod.ll b/llvm/test/Transforms/Inline/ARM/inline-dotprod.ll
index 2f8dbb7f01822..b94e4df8baf83 100644
--- a/llvm/test/Transforms/Inline/ARM/inline-dotprod.ll
+++ b/llvm/test/Transforms/Inline/ARM/inline-dotprod.ll
@@ -1,5 +1,4 @@
; RUN: opt < %s -mtriple=arm-unknown-linux-gnu -S -passes=inline | FileCheck %s
-; RUN: opt < %s -mtriple=arm-unknown-linux-gnu -S -passes='cgscc(inline)' | FileCheck %s
declare i32 @foo(...) #0
diff --git a/llvm/test/Transforms/Inline/ARM/inline-target-attr.ll b/llvm/test/Transforms/Inline/ARM/inline-target-attr.ll
index 444b736fa03f5..2d6408e30fd2f 100644
--- a/llvm/test/Transforms/Inline/ARM/inline-target-attr.ll
+++ b/llvm/test/Transforms/Inline/ARM/inline-target-attr.ll
@@ -1,5 +1,4 @@
; RUN: opt < %s -mtriple=arm-unknown-linux-gnu -S -passes=inline | FileCheck %s
-; RUN: opt < %s -mtriple=arm-unknown-linux-gnu -S -passes='cgscc(inline)' | FileCheck %s
; Check that we only inline when we have compatible target attributes.
; ARM has implemented a target attribute that will verify that the attribute
; sets are compatible.
diff --git a/llvm/test/Transforms/Inline/LoongArch/inline-target-features.ll b/llvm/test/Transforms/Inline/LoongArch/inline-target-features.ll
index f7a37015e07fc..5853894282c76 100644
--- a/llvm/test/Transforms/Inline/LoongArch/inline-target-features.ll
+++ b/llvm/test/Transforms/Inline/LoongArch/inline-target-features.ll
@@ -1,5 +1,4 @@
; RUN: opt < %s -mtriple=loongarch64-unknown-linux-gnu -S -passes=inline | FileCheck %s
-; RUN: opt < %s -mtriple=loongarch64-unknown-linux-gnu -S -passes='cgscc(inline)' | FileCheck %s
; Check that we only inline when we have compatible target attributes.
target datalayout = "e-m:e-p:64:64-i64:64-i128:128-n32:64-S128"
diff --git a/llvm/test/Transforms/Inline/PowerPC/inline-target-attr.ll b/llvm/test/Transforms/Inline/PowerPC/inline-target-attr.ll
index b7086199e6f7d..5cdf36a09be1c 100644
--- a/llvm/test/Transforms/Inline/PowerPC/inline-target-attr.ll
+++ b/llvm/test/Transforms/Inline/PowerPC/inline-target-attr.ll
@@ -1,5 +1,4 @@
; RUN: opt < %s -mtriple=powerpc64le-ibm-linux-gnu -S -passes=inline | FileCheck %s
-; RUN: opt < %s -mtriple=powerpc64le-ibm-linux-gnu -S -passes='cgscc(inline)' | FileCheck %s
target datalayout = "E-m:e-i64:64-n32:64"
target triple = "powerpc64le-ibm-linux-gnu"
diff --git a/llvm/test/Transforms/Inline/RISCV/inline-target-features.ll b/llvm/test/Transforms/Inline/RISCV/inline-target-features.ll
index b626a229a737d..deda6ad7c85ce 100644
--- a/llvm/test/Transforms/Inline/RISCV/inline-target-features.ll
+++ b/llvm/test/Transforms/Inline/RISCV/inline-target-features.ll
@@ -1,5 +1,4 @@
; RUN: opt < %s -mtriple=riscv64-unknown-linux-gnu -S -passes=inline | FileCheck %s
-; RUN: opt < %s -mtriple=riscv64-unknown-linux-gnu -S -passes='cgscc(inline)' | FileCheck %s
; Check that we only inline when we have compatible target attributes.
target datalayout = "e-m:e-p:64:64-i64:64-i128:128-n64-S128"
diff --git a/llvm/test/Transforms/Inline/SystemZ/inline-target-attr.ll b/llvm/test/Transforms/Inline/SystemZ/inline-target-attr.ll
index 71b463b2d2b00..e0ca419fc5754 100644
--- a/llvm/test/Transforms/Inline/SystemZ/inline-target-attr.ll
+++ b/llvm/test/Transforms/Inline/SystemZ/inline-target-attr.ll
@@ -1,5 +1,4 @@
; RUN: opt < %s -mtriple=s390x-linux-gnu -S -passes=inline | FileCheck %s
-; RUN: opt < %s -mtriple=s390x-linux-gnu -S -passes='cgscc(inline)' | FileCheck %s
; Check that we only inline when we have equal target attributes.
define i32 @foo() #0 {
diff --git a/llvm/test/Transforms/Inline/X86/extractvalue.ll b/llvm/test/Transforms/Inline/X86/extractvalue.ll
index ccd58c8701281..7c0f8d7b90cb5 100644
--- a/llvm/test/Transforms/Inline/X86/extractvalue.ll
+++ b/llvm/test/Transforms/Inline/X86/extractvalue.ll
@@ -1,5 +1,4 @@
; RUN: opt < %s -passes=inline -inline-threshold=0 -debug-only=inline-cost -print-instruction-comments -S -mtriple=x86_64-unknown-linux-gnu 2>&1 | FileCheck %s
-; RUN: opt < %s -passes='cgscc(inline)' -inline-threshold=0 -debug-only=inline-cost -print-instruction-comments -S -mtriple=x86_64-unknown-linux-gnu 2>&1 | FileCheck %s
; REQUIRES: asserts
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
diff --git a/llvm/test/Transforms/Inline/X86/inline-target-attr.ll b/llvm/test/Transforms/Inline/X86/inline-target-attr.ll
index 528e8a5cb2e60..3b4b945bdf036 100644
--- a/llvm/test/Transforms/Inline/X86/inline-target-attr.ll
+++ b/llvm/test/Transforms/Inline/X86/inline-target-attr.ll
@@ -1,5 +1,4 @@
; RUN: opt < %s -mtriple=x86_64-unknown-linux-gnu -S -passes=inline | FileCheck %s
-; RUN: opt < %s -mtriple=x86_64-unknown-linux-gnu -S -passes='cgscc(inline)' | FileCheck %s
; Check that we only inline when we have compatible target attributes.
; X86 has implemented a target attribute that will verify that the attribute
; sets are compatible.
diff --git a/llvm/test/Transforms/Inline/X86/insertvalue.ll b/llvm/test/Transforms/Inline/X86/insertvalue.ll
index 529f9475678c3..aa85817cdfbdc 100644
--- a/llvm/test/Transforms/Inline/X86/insertvalue.ll
+++ b/llvm/test/Transforms/Inline/X86/insertvalue.ll
@@ -1,5 +1,4 @@
; RUN: opt < %s -passes=inline -inline-threshold=0 -debug-only=inline-cost -print-instruction-comments -S -mtriple=x86_64-unknown-linux-gnu 2>&1 | FileCheck %s
-; RUN: opt < %s -passes='cgscc(inline)' -inline-threshold=0 -debug-only=inline-cost -print-instruction-comments -S -mtriple=x86_64-unknown-linux-gnu 2>&1 | FileCheck %s
; REQUIRES: asserts
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
diff --git a/llvm/test/Transforms/Inline/X86/switch.ll b/llvm/test/Transforms/Inline/X86/switch.ll
index 99c7b25928b22..b4cc95b4822f9 100644
--- a/llvm/test/Transforms/Inline/X86/switch.ll
+++ b/llvm/test/Transforms/Inline/X86/switch.ll
@@ -1,5 +1,4 @@
; RUN: opt < %s -passes=inline -inline-threshold=1 -S -mtriple=x86_64-unknown-linux-gnu | FileCheck %s
-; RUN: opt < %s -passes='cgscc(inline)' -inline-threshold=1 -S -mtriple=x86_64-unknown-linux-gnu | FileCheck %s
define i32 @callee_range(i32 %a, ptr %P) {
switch i32 %a, label %sw.default [
diff --git a/llvm/test/Transforms/Inline/access-attributes-prop.ll b/llvm/test/Transforms/Inline/access-attributes-prop.ll
index fed2590d36669..a5c52ecdfd8c2 100644
--- a/llvm/test/Transforms/Inline/access-attributes-prop.ll
+++ b/llvm/test/Transforms/Inline/access-attributes-prop.ll
@@ -1,6 +1,5 @@
; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --function-signature --check-attributes
; RUN: opt -S -passes=inline %s | FileCheck %s
-; RUN: opt -S -passes='cgscc(inline)' %s | FileCheck %s
; RUN: opt -S -passes='module-inline' %s | FileCheck %s
declare void @bar1(ptr %p)
diff --git a/llvm/test/Transforms/Inline/alloca-bonus.ll b/llvm/test/Transforms/Inline/alloca-bonus.ll
index 45ff5273bbe23..4cc9dee6c268c 100644
--- a/llvm/test/Transforms/Inline/alloca-bonus.ll
+++ b/llvm/test/Transforms/Inline/alloca-bonus.ll
@@ -1,5 +1,4 @@
; RUN: opt -passes=inline < %s -S -o - -inline-threshold=8 | FileCheck %s
-; RUN: opt -passes='cgscc(inline)' < %s -S -o - -inline-threshold=8 | FileCheck %s
target datalayout = "p:32:32"
diff --git a/llvm/test/Transforms/Inline/alloca-dbgdeclare.ll b/llvm/test/Transforms/Inline/alloca-dbgdeclare.ll
index e34cb1a9dc5ea..65458f6443a80 100644
--- a/llvm/test/Transforms/Inline/alloca-dbgdeclare.ll
+++ b/llvm/test/Transforms/Inline/alloca-dbgdeclare.ll
@@ -1,5 +1,4 @@
; RUN: opt -passes=inline -S < %s | FileCheck %s
-; RUN: opt -passes='cgscc(inline)' -S < %s | FileCheck %s
; struct A {
; int arg0;
diff --git a/llvm/test/Transforms/Inline/alloca_test.ll b/llvm/test/Transforms/Inline/alloca_test.ll
index e4a90799fa326..85c539909ea20 100644
--- a/llvm/test/Transforms/Inline/alloca_test.ll
+++ b/llvm/test/Transforms/Inline/alloca_test.ll
@@ -3,7 +3,6 @@
; function are moved to the top of the function they are inlined into.
;
; RUN: opt -S -passes=inline < %s | FileCheck %s
-; RUN: opt -S -passes='cgscc(inline)' < %s | FileCheck %s
define i32 @func(i32 %i) {
%X = alloca i32
diff --git a/llvm/test/Transforms/Inline/array-alloca.ll b/llvm/test/Transforms/Inline/array-alloca.ll
index 8abcde0dea7ff..2e3baf9ffa43b 100644
--- a/llvm/test/Transforms/Inline/array-alloca.ll
+++ b/llvm/test/Transforms/Inline/array-alloca.ll
@@ -1,5 +1,4 @@
; RUN: opt -passes=inline -S < %s | FileCheck %s
-; RUN: opt -passes='cgscc(inline)' -S < %s | FileCheck %s
%struct.A = type { i32 }
define void @callee1(i32 %M) {
diff --git a/llvm/test/Transforms/Inline/assumptions-from-callsite-attrs.ll b/llvm/test/Transforms/Inline/assumptions-from-callsite-attrs.ll
index c0943f4aefb8f..e8a64da786c64 100644
--- a/llvm/test/Transforms/Inline/assumptions-from-callsite-attrs.ll
+++ b/llvm/test/Transforms/Inline/assumptions-from-callsite-attrs.ll
@@ -1,6 +1,5 @@
; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --version 2
; RUN: opt -S -passes=inline %s | FileCheck %s
-; RUN: opt -S -passes='cgscc(inline)' %s | FileCheck %s
; RUN: opt -S -passes='module-inline' %s | FileCheck %s
declare void @h(ptr %p, ptr %q, ptr %z)
diff --git a/llvm/test/Transforms/Inline/attributes.ll b/llvm/test/Transforms/Inline/attributes.ll
index da7eeda543c79..9582f416ce4f6 100644
--- a/llvm/test/Transforms/Inline/attributes.ll
+++ b/llvm/test/Transforms/Inline/attributes.ll
@@ -1,5 +1,4 @@
; RUN: opt < %s -passes=inline -S | FileCheck %s
-; RUN: opt < %s -passes='cgscc(inline)' -S | FileCheck %s
target datalayout = "E-p:64:64:64-a0:0:8-f32:32:32-f64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-v64:64:64-v128:128:128"
define i32 @noattr_callee(i32 %i) {
diff --git a/llvm/test/Transforms/Inline/blockaddress.ll b/llvm/test/Transforms/Inline/blockaddress.ll
index aded280c1ed6c..8a3861ac74928 100644
--- a/llvm/test/Transforms/Inline/blockaddress.ll
+++ b/llvm/test/Transforms/Inline/blockaddress.ll
@@ -1,5 +1,4 @@
; RUN: opt -passes=inline -S < %s | FileCheck %s
-; RUN: opt -passes='cgscc(inline)' -S < %s | FileCheck %s
; PR10162
; Make sure doit is not inlined since the blockaddress is taken
diff --git a/llvm/test/Transforms/Inline/byval.ll b/llvm/test/Transforms/Inline/byval.ll
index c945d7fe1a01a..d435ddfa73fd0 100644
--- a/llvm/test/Transforms/Inline/byval.ll
+++ b/llvm/test/Transforms/Inline/byval.ll
@@ -1,6 +1,5 @@
; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --version 3
; RUN: opt < %s -passes=inline -S | FileCheck %s
-; RUN: opt < %s -passes='cgscc(inline)' -S | FileCheck %s
; The verifier does catch problems with inlining of byval arguments that has a
; different address space compared to the alloca. But running instcombine
diff --git a/llvm/test/Transforms/Inline/byval_lifetime.ll b/llvm/test/Transforms/Inline/byval_lifetime.ll
index 9f68cd49c4b4c..b29d6a6a4adce 100644
--- a/llvm/test/Transforms/Inline/byval_lifetime.ll
+++ b/llvm/test/Transforms/Inline/byval_lifetime.ll
@@ -1,5 +1,4 @@
; RUN: opt -S -passes=inline < %s | FileCheck %s
-; RUN: opt -passes='cgscc(inline)' -S < %s | FileCheck %s
; By inlining foo, an alloca is created in main to hold the byval argument, so
; a lifetime marker should be generated as well by default.
diff --git a/llvm/test/Transforms/Inline/call-site-attrs.ll b/llvm/test/Transforms/Inline/call-site-attrs.ll
index 19b062e2b770d..fec052b1a5d84 100644
--- a/llvm/test/Transforms/Inline/call-site-attrs.ll
+++ b/llvm/test/Transforms/Inline/call-site-attrs.ll
@@ -1,5 +1,4 @@
; RUN: opt < %s -passes=inline -S | FileCheck %s
-; RUN: opt < %s -passes='cgscc(inline)' -S | FileCheck %s
; Always prefer call site attribute over function attribute
diff --git a/llvm/test/Transforms/Inline/callbr.ll b/llvm/test/Transforms/Inline/callbr.ll
index 57e92bb2a6774..996618381ba68 100644
--- a/llvm/test/Transforms/Inline/callbr.ll
+++ b/llvm/test/Transforms/Inline/callbr.ll
@@ -1,6 +1,5 @@
; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
; RUN: opt -passes=inline -S < %s | FileCheck %s
-; RUN: opt -passes='cgscc(inline)' -S < %s | FileCheck %s
; RUN: opt -passes='module-inline' -S < %s | FileCheck %s
define dso_local i32 @main() {
diff --git a/llvm/test/Transforms/Inline/casts.ll b/llvm/test/Transforms/Inline/casts.ll
index b4e015040ca41..2f07c4125bc19 100644
--- a/llvm/test/Transforms/Inline/casts.ll
+++ b/llvm/test/Transforms/Inline/casts.ll
@@ -1,5 +1,4 @@
; RUN: opt < %s -passes=inline -S | FileCheck %s
-; RUN: opt < %s -passes='cgscc(inline)' -S | FileCheck %s
; RUN: opt < %s -passes='module-inline' -S | FileCheck %s
define i32 @testByte(i8 %X) {
diff --git a/llvm/test/Transforms/Inline/comdat-ipo.ll b/llvm/test/Transforms/Inline...
[truncated]
``````````
</details>
https://github.com/llvm/llvm-project/pull/179959
More information about the llvm-commits
mailing list