Skip to content

Commit 91047f4

Browse files
committed
[CIR][Driver] Added tests for -fclangir-idiom-recognizer and -fclangir-lib-opt
1 parent ec020b6 commit 91047f4

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
// RUN: %clang %s -fclangir-idiom-recognizer -### -c %s 2>&1 | FileCheck --check-prefix=ENABLE %s
2+
// ENABLE: "-fclangir-idiom-recognizer"

clang/test/CIR/Driver/lib-opt.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
// RUN: %clang %s -fclangir-lib-opt -### -c %s 2>&1 | FileCheck --check-prefix=ENABLE %s
2+
// ENABLE: "-fclangir-lib-opt"

0 commit comments

Comments
 (0)