[llvm] [TypeSanitizer] Properly add ext attributes on arguments where needed. (PR #224366)
Eli Friedman via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 21 13:52:44 PDT 2026
================
@@ -464,6 +464,18 @@ class TargetLibraryInfo {
return Impl->CustomNames.find(F)->second;
}
+ static void initBoolExtensionsForTriple(bool &ShouldZExtBoolParam,
+ bool &ShouldZExtBoolReturn,
+ const Triple &T) {
+ ShouldZExtBoolParam = ShouldZExtBoolReturn = false;
+
+ if (T.isPPC64() || T.getArch() == Triple::sparcv9 ||
+ T.getArch() == Triple::systemz || T.isLoongArch() || T.isMIPS() ||
+ T.isRISCV64()) {
----------------
efriedma-quic wrote:
Checking what we actually do for various in-tree targets, this should probably be `if (!T.isAArch64() && !isOSDarwin())`.
https://github.com/llvm/llvm-project/pull/224366
More information about the llvm-commits
mailing list