[PATCH] SelectionDAG: Handle out-of-bounds index in extract vector element

Paweł Bylica chfast at gmail.com
Fri Apr 24 05:04:43 PDT 2015


This patch correctly handles undef case of EXTRACT_VECTOR_ELT node where the element index is constant and not less than vector size.

http://reviews.llvm.org/D9250

Files:
  lib/CodeGen/SelectionDAG/SelectionDAG.cpp
  test/CodeGen/X86/extract-store.ll
  test/CodeGen/X86/extractelement-index.ll

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D9250.24377.patch
Type: text/x-patch
Size: 4360 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150424/366ce721/attachment.bin>


More information about the llvm-commits mailing list