[llvm] [TypeSanitizer] Properly add ext attributes on arguments where needed. (PR #224366)

Jonas Paulsson via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 22 01:15:24 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()) {
----------------
JonPsson1 wrote:

done (along with a rebase). Thanks for review. 

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


More information about the llvm-commits mailing list