[LLVMdev] nsw/nuw for trunc
james woodyatt
jhw at conjury.org
Sun Aug 28 13:50:13 PDT 2011
On Aug 11, 2011, at 12:47 , Chris Lattner wrote:
>
> For clarity, I'm saying that it would make sense for LLVM IR to support this concept (instcombine could infer it for example), but I don't think it makes sense for clang to generate it.
I can think of a use for it in my project if it were in the LLVM IR. It would be nice if LLVM optimizers could understand this feature. I would encourage you to consider accepting patches that implemented this improvement.
—
j h woodyatt <jhw at conjury.org>
http://jhw.dreamwidth.org/
More information about the llvm-dev
mailing list