[llvm] [clang] [compiler-rt] [HIP] support 128 bit int division (PR #71978)

Yaxun Liu via cfe-commits cfe-commits at lists.llvm.org
Wed Dec 6 15:41:38 PST 2023


================
@@ -596,6 +596,7 @@ static bool mustPreserveGV(const GlobalValue &GV) {
   if (const Function *F = dyn_cast<Function>(&GV))
     return F->isDeclaration() || F->getName().startswith("__asan_") ||
            F->getName().startswith("__sanitizer_") ||
+           F->getName() == "__divti3" ||
----------------
yxsamliu wrote:

will add a function attribute for that

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


More information about the cfe-commits mailing list