[clang] [FMV][AIX] Implement target_clones (PR #177428)

zhijian lin via cfe-commits cfe-commits at lists.llvm.org
Fri Feb 13 12:16:20 PST 2026


================
@@ -1567,7 +1567,7 @@ class TargetInfo : public TransferrableTargetInfo,
   /// which requires support for cpu_supports and cpu_is functionality.
   bool supportsMultiVersioning() const {
     return getTriple().isX86() || getTriple().isAArch64() ||
-           getTriple().isRISCV();
+           getTriple().isRISCV() || getTriple().isOSBinFormatXCOFF();
----------------
diggerlin wrote:

can you use getTriple().isOSAIX() ?

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


More information about the cfe-commits mailing list