[LLVMdev] Question about nsw and nuw flags

Chris Lattner clattner at apple.com
Wed Jan 12 11:34:13 PST 2011


On Jan 12, 2011, at 11:31 AM, Douglas do Couto Teixeira wrote:

> Hi everybody,
> 
> I saw that there are some instructions in the programs in which the flag nsw or nuw is placed. I wonder what rules does LLVM follows to put these flags in some instructions.

Hi Douglas,

The canonical reference for these types of questions is the IR description, here: http://llvm.org/docs/LangRef.html

-Chris



More information about the llvm-dev mailing list