[llvm-dev] Unsigned int displaying as negative

Tim Northover via llvm-dev llvm-dev at lists.llvm.org
Wed Feb 15 14:14:18 PST 2017

On 15 February 2017 at 13:52, Ryan Taylor via llvm-dev
<llvm-dev at lists.llvm.org> wrote:
> Can you please give me an example (C code) where the nsw does not exist for
> signed operation?

If you compile with -frwapv that's what you get. Earlier passes could
also quite easily add or remove those flags for whatever reason.


More information about the llvm-dev mailing list