[PATCH] D74141: [InstCombine] Simplify a umul overflow check to a != 0 && b != 0.
Nikita Popov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Feb 7 10:26:33 PST 2020
nikic added a comment.
> Code like this is generated by code using __builtin_mul_overflow with negative integer constants
I'm missing something here, why does clang generate this kind of code? I would have thought that __builtin_mul_overflow maps pretty directly the intrinsic.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D74141/new/
https://reviews.llvm.org/D74141
More information about the llvm-commits
mailing list