https://bugs.llvm.org/show_bug.cgi?id=38021
Simon Pilgrim <llvm-...@redking.me.uk> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #1 from Simon Pilgrim <llvm-...@redking.me.uk> ---
Fixed in trunk - test case added at a7dc71130ffb41195e2efac2221692875144c18f
define i8 @no_overflow(i8 %x) {
%clear_top_3_bits = lshr i8 %x, 3
%add = add nuw nsw i8 %clear_top_3_bits, -63
ret i8 %add
}
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs