[PATCH] Fix illegal DAG produced by SelectionDAG::getConstant() for v2i64 type

Daniel Sanders daniel.sanders at imgtec.com
Fri Oct 18 03:07:58 PDT 2013


  Improved the code to support the case where getTypeToTransformTo() doesn't
  return i32 and instead returns i16 or i8. Added an assert that triggers when
  getTypeToTransformTo() returns a type whose size (in bits) isn't a power-of-2
  factor of the size of the requested vector.

http://llvm-reviews.chandlerc.com/D1973

CHANGE SINCE LAST DIFF
  http://llvm-reviews.chandlerc.com/D1973?vs=5025&id=5026#toc

Files:
  lib/CodeGen/SelectionDAG/SelectionDAG.cpp
  lib/Target/Mips/MipsSEISelLowering.cpp
  test/CodeGen/Mips/msa/bit.ll
  test/CodeGen/Mips/msa/elm_shift_slide.ll
  test/CodeGen/Mips/msa/i5-a.ll
  test/CodeGen/Mips/msa/i5-c.ll
  test/CodeGen/Mips/msa/i5-m.ll
  test/CodeGen/Mips/msa/i5-s.ll
  test/CodeGen/Mips/msa/llvm-stress-s1704963983.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D1973.2.patch
Type: text/x-patch
Size: 14174 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20131018/9771bf4a/attachment.bin>


More information about the llvm-commits mailing list