[PATCH] D114375: [SLP]Fix emission of int division with some undef vector subelements.

Roman Lebedev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 22 13:16:29 PST 2021


lebedev.ri added a comment.

In D114375#3147241 <https://reviews.llvm.org/D114375#3147241>, @vporpo wrote:

> I am not sure I understand why you are trying to get rid of the `undef` operands. Could you provide a code example that shows the issue?

+1



================
Comment at: llvm/test/Transforms/SLPVectorizer/X86/arith-div-undef.ll:6
 ; CHECK-LABEL: @sdiv_v8i32_undefs(
-; CHECK-NEXT:    ret <8 x i32> poison
 ;
----------------
This is *NOT* a miscompile: https://alive2.llvm.org/ce/z/iMu-eF


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D114375



More information about the llvm-commits mailing list