[llvm-dev] Signed Division and InstCombine

Tim Northover via llvm-dev llvm-dev at lists.llvm.org
Tue May 31 15:50:28 PDT 2016


On 31 May 2016 at 15:42, Tim Northover <t.p.northover at gmail.com> wrote:
> A 16-bit division of INT16_MIN by -1 is undefined behaviour but the
> original ext/trunc version is well-defined as 0.

Sorry, INT16_MIN again actually. The main point still stands though, I think.

Tim.


More information about the llvm-dev mailing list