[clang] [flang] [mlir] [LLVM-Flang][Options] Add support for '-fprofile-sample-use' option (PR #188697)

Tarun Prabhu via cfe-commits cfe-commits at lists.llvm.org
Thu Mar 26 06:17:31 PDT 2026


================
@@ -0,0 +1,34 @@
+! Test to check the working of option "-fprofile-sample-use".
+! RUN: %flang -S -emit-llvm -g -fprofile-sample-use=%S/inputs/pgo-sample.prof -o - %s | FileCheck %s
----------------
tarunprabhu wrote:

Is it possible to use %flang_fc1 here instead of the driver

https://github.com/llvm/llvm-project/pull/188697


More information about the cfe-commits mailing list