[clang] [clang][FMV] Do not omit explicit default target_version attribute. (PR #96628)

Alexandros Lamprineas via cfe-commits cfe-commits at lists.llvm.org
Fri Jun 28 10:05:24 PDT 2024


================
@@ -11576,22 +11584,6 @@ static bool CheckTargetCausesMultiVersioning(Sema &S, FunctionDecl *OldFD,
     }
   }
 
-  if (NewTVA) {
----------------
labrinea wrote:

The assertion should be conditional when NewTVA is not null because the function is used for the target attribute as well. Do we still want the assertion?

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


More information about the cfe-commits mailing list