[PATCH] D60426: [InstCombine] prevent possible miscompile with negate+sdiv of vector op

Sanjay Patel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 9 05:55:05 PDT 2019


spatel marked an inline comment as done.
spatel added inline comments.


================
Comment at: llvm/test/Transforms/InstCombine/div.ll:820
 ;
   %div = sdiv <2 x i8> %x, <i8 -1, i8 1>
   %neg = sub <2 x i8> zeroinitializer, %div
----------------
lebedev.ri wrote:
> Could also add a test for SINT_MIN (yes, i have seen the next test here)
Do you mean a splat of SINT_MIN (that's above here) or something else?


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D60426/new/

https://reviews.llvm.org/D60426





More information about the llvm-commits mailing list