[PATCH] D13655: DAGCombiner: Combine extract_vector_elt from build_vector

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 12 16:34:53 PDT 2015


arsenm updated this revision to Diff 37197.
arsenm added a comment.

Make sure element type matches. Leave truncating if free out because I have so far failed to find an example where this happens


http://reviews.llvm.org/D13655

Files:
  include/llvm/Target/TargetLowering.h
  lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  lib/Target/AMDGPU/AMDGPUISelLowering.cpp
  lib/Target/AMDGPU/AMDGPUISelLowering.h
  test/CodeGen/AArch64/fold-constants.ll
  test/CodeGen/AMDGPU/ds_read2.ll
  test/CodeGen/AMDGPU/fceil64.ll
  test/CodeGen/AMDGPU/ftrunc.f64.ll
  test/CodeGen/AMDGPU/gep-address-space.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D13655.37197.patch
Type: text/x-patch
Size: 9091 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151012/61eadb6c/attachment.bin>


More information about the llvm-commits mailing list