llvm-project/clang/test/CodeGen/print-pipeline-passes.c
Joshua Cranmer bf49237103 [Clang] Enable -print-pipeline-passes in clang.
Reviewed By: arsenm, aeubanks

Differential Revision: https://reviews.llvm.org/D127221
2023-09-13 08:57:10 -07:00

10 lines
362 B
C

// Test that -print-pipeline-passes works in Clang
// RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -emit-llvm-bc -o /dev/null -mllvm -print-pipeline-passes -O0 %s 2>&1 | FileCheck %s
// Don't try to check all passes, just a few to make sure that something is
// actually printed.
// CHECK: always-inline
// CHECK-SAME: annotation-remarks
void Foo(void) {}