[cfe-dev] Issue with Clang on Windows and compiler-rt builtins

Joerg Sonnenberger via cfe-dev cfe-dev at lists.llvm.org
Sun Jan 7 08:59:22 PST 2018


On Sun, Jan 07, 2018 at 05:47:14PM +0800, Rong Jie Loo via cfe-dev wrote:
> When __int128 operations are used, Clang on Windows generate calls to
> compiler-rt builtins (__udivti3 etc.) instead of generating inline
> optimized assembly directly.

LLVM does not inline division or modulo for 128bit operands. Way too
much code.

Joerg



More information about the cfe-dev mailing list