nuw专题

【LLVM】nsw和nuw的一个例子

nsw和nuw是LLVMIR提供给二元运算的flag。分别表示not signed wrap和not unsigned wrap。在LLVM2.6的更新日志中表述如下: The add, sub and mul instructions now support optional “nsw” and “nuw” bits which indicate that the operation is gu