]> granicus.if.org Git - llvm/commit
DAG: Fold bitcast/extract_vector_elt of undef to undef
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Tue, 21 Mar 2017 16:20:16 +0000 (16:20 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Tue, 21 Mar 2017 16:20:16 +0000 (16:20 +0000)
commit0597e5e3b04c9977f7479d877e54a96068afbb98
tree8e6c2848f645ad0b4d3c43d9c62ffddd42cc81e0
parentb8fa10fdbf1ba79519b2bdb3c8eee0b917ade59b
DAG: Fold bitcast/extract_vector_elt of undef to undef

Fixes not eliminating store when intrinsic is lowered to undef.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@298385 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
test/CodeGen/AMDGPU/bitcast-vector-extract.ll
test/CodeGen/AMDGPU/llvm.amdgcn.cvt.pkrtz.ll
test/CodeGen/AMDGPU/llvm.amdgcn.fract.ll