[clang] Don't emit int TBAA metadata on more complex FP math libcalls. (PR #107598)
Matt Arsenault via cfe-commits
cfe-commits at lists.llvm.org
Fri Sep 13 11:51:29 PDT 2024
================
@@ -686,6 +686,20 @@ static Value *EmitSignBit(CodeGenFunction &CGF, Value *V) {
return CGF.Builder.CreateICmpSLT(V, Zero);
}
+static bool hasPointerArgsOrPointerReturnType(const Value *V) {
+ if (const CallBase *CB = dyn_cast<CallBase>(V)) {
+ for (const Value *A : CB->args()) {
----------------
arsenm wrote:
could use any_of
https://github.com/llvm/llvm-project/pull/107598
More information about the cfe-commits
mailing list