================
@@ -5278,6 +5278,46 @@ Value *CodeGenFunction::EmitAArch64BuiltinExpr(unsigned
BuiltinID,
return Builder.CreateCall(F, Args);
}
+ if (BuiltinID == clang::AArch64::BI__builtin_arm_atomic_store_with_stshh) {
+ const Expr *Arg0 = E->getArg(0);
+ Value *StoreAddr = EmitScalarExpr(Arg0);
----------------
jthackray wrote:
Thanks, I originally used `Arg0` lower in the code, but missed trimming this
when no longer used. Now updated.
https://github.com/llvm/llvm-project/pull/181386
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits