[flang-commits] [clang] [flang] [mlir] [flang] Add basic -mtune support (PR #95043)

Tarun Prabhu via flang-commits flang-commits at lists.llvm.org
Wed Jun 12 08:38:34 PDT 2024


================

----------------
tarunprabhu wrote:

Why do you have the first `target-cpu` check on its own? Is it intended to check for the _absence_ of the `tune-cpu` attribute when `target-cpu` is provided on the command line? If so, there should be a `CPU-NOT` annotation as well. Otherwise, it is odd to test for `target-cpu` when this file is intended to test `tune-cpu`. 

The third test which checks the case when both `target -cpu` and `tune-cpu` are provided is good.

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


More information about the flang-commits mailing list