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

Matt Arsenault via cfe-commits cfe-commits at lists.llvm.org
Sun Nov 12 18:38:02 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" ||
----------------
arsenm wrote:

we're stuck preserving this in the IR at all times which isn't really ideal 

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


More information about the cfe-commits mailing list