[clang] [compiler-rt] [AArch64] Implement __builtin_cpu_supports, compiler-rt tests. (PR #82378)
Jon Roelofs via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 20 09:37:35 PST 2024
================
@@ -14025,6 +14028,19 @@ Value *CodeGenFunction::EmitX86CpuInit() {
return Builder.CreateCall(Func);
}
+Value *CodeGenFunction::EmitAArch64CpuSupports(const CallExpr *E) {
+ const Expr *ArgExpr = E->getArg(0)->IgnoreParenCasts();
+ StringRef ArgStr = cast<StringLiteral>(ArgExpr)->getString();
----------------
jroelofs wrote:
oh, yes. it does.
https://github.com/llvm/llvm-project/pull/82378
More information about the llvm-commits
mailing list