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

2023-12-07 Thread Yaxun Liu via cfe-commits
yxsamliu wrote: > > Would it be feasible to consider switching to the new offloading driver > > mode and really link with the library instead? It may be a conveniently > > isolated use case with little/no existing users that would disrupt. > > I've thought a reasonable amount about a `compiler

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

2023-12-07 Thread Yaxun Liu via cfe-commits
yxsamliu wrote: > Would it be feasible to consider switching to the new offloading driver mode > and really link with the library instead? It may be a conveniently isolated > use case with little/no existing users that would disrupt. It is needed by an important HIP app for which the new drive

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

2023-12-07 Thread Yaxun Liu via cfe-commits
https://github.com/yxsamliu updated https://github.com/llvm/llvm-project/pull/71978 >From f2a6e4e2bb2554d55243385ddbae9cceebd081c9 Mon Sep 17 00:00:00 2001 From: "Yaxun (Sam) Liu" Date: Thu, 7 Dec 2023 17:10:23 -0500 Subject: [PATCH] [HIP] support 128 bit int division Currently nvcc supports 1