[clang] [FMV][AIX] Implement target_clones (cpu-only) (PR #177428)
Wael Yehia via cfe-commits
cfe-commits at lists.llvm.org
Fri Mar 13 07:54:48 PDT 2026
================
@@ -0,0 +1,142 @@
+// RUN: %clang_cc1 -triple powerpc-ibm-aix-xcoff -target-cpu pwr7 -emit-llvm %s -o - | FileCheck %s
----------------
w2yehia wrote:
Similar to Sema, I was being consistent with what's currently there:
```
clang/test/CodeGen/attr-target-clones-riscv.c
clang/test/CodeGen/attr-target-clones-ppc.c
clang/test/CodeGen/attr-target-clones-riscv-invalid.c
clang/test/CodeGen/attr-target-clones.c
clang/test/CodeGen/attr-target-clones-aarch64.c
```
but there are <Target> folders with other FMV (target or target_version) tests.
Please let me know whether you prefer to move my target_clones into the PowerPC folder. Thanks
https://github.com/llvm/llvm-project/pull/177428
More information about the cfe-commits
mailing list