[cfe-dev] Signed overflow and vectors?

Eli Friedman eli.friedman at gmail.com
Thu May 5 12:00:04 PDT 2011


Looking at http://llvm.org/bugs/show_bug.cgi?id=9850 , I realized that
we are setting nsw flags on vector instructions.  To fix that bug, at
the very least, we need to fix *mmintrin.h to not use instructions
with undefined overflow behavior.  But generally, do we want to be
setting nsw on vector addition/subtraction/etc. generated by clang?

-Eli



More information about the cfe-dev mailing list