https://bugs.llvm.org/show_bug.cgi?id=13549
Simon Pilgrim <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|new bugs |Scalar Optimizations
Version|unspecified |trunk
CC| |[email protected]
Status|NEW |RESOLVED
Resolution|--- |FIXED
Product|new-bugs |libraries
--- Comment #2 from Simon Pilgrim <[email protected]> ---
Resolving - this was fixed sometime around clang 3.8
https://godbolt.org/z/c7vvdc
define i64 @_Z14ComputeMemSizei(i32 %0) {
%2 = sext i32 %0 to i64
%3 = mul nsw i64 %2, %2
%4 = add nuw nsw i64 %3, 2
%5 = mul i64 %4, %2
%6 = add i64 %5, %3
ret i64 %6
}
--
You are receiving this mail because:
You are on the CC list for the bug._______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs