craig.topper added a comment. What about llvm.llround? Which is silly hack for llvm not knowing the size of long and long long. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D108417/new/ https://reviews.llvm.org/D108417