[PATCH] D53760: [SelectionDAG] Add FoldBUILD_VECTOR to simplify new BUILD_VECTOR nodes

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 29 15:16:54 PDT 2018


RKSimon updated this revision to Diff 171587.
RKSimon added a comment.

Just use IsIdentity


Repository:
  rL LLVM

https://reviews.llvm.org/D53760

Files:
  lib/CodeGen/SelectionDAG/SelectionDAG.cpp
  lib/Target/AMDGPU/R600ISelLowering.cpp
  test/CodeGen/AMDGPU/load-local-i16.ll
  test/CodeGen/X86/clear_upper_vector_element_bits.ll
  test/CodeGen/X86/lower-vec-shift.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D53760.171587.patch
Type: text/x-patch
Size: 18501 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181029/bb6ace82/attachment.bin>


More information about the llvm-commits mailing list