OSDN Git Service

[DAGCombiner] Support {a|s}ext, {a|z|s}ext load nodes in load combine
authorArtur Pilipenko <apilipenko@azulsystems.com>
Thu, 16 Feb 2017 17:07:27 +0000 (17:07 +0000)
committerArtur Pilipenko <apilipenko@azulsystems.com>
Thu, 16 Feb 2017 17:07:27 +0000 (17:07 +0000)
commite97e1b5918b9218c9c0a5329885e0f694fc0134c
tree78fe356177ed2c2acde3a99acda4ea1dcd4e17f7
parente61e0955b7e6e385e5d50ebc72e570de9fac402c
[DAGCombiner] Support {a|s}ext, {a|z|s}ext load nodes in load combine

Resubmit -r295314 with PowerPC and AMDGPU tests updated.

Support {a|s}ext, {a|z|s}ext load nodes as a part of load combine patters.

Reviewed By: filcab

Differential Revision: https://reviews.llvm.org/D29591

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@295336 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
test/CodeGen/AArch64/load-combine-big-endian.ll
test/CodeGen/AArch64/load-combine.ll
test/CodeGen/AMDGPU/insert_vector_elt.ll
test/CodeGen/ARM/fp16-promote.ll
test/CodeGen/ARM/load-combine-big-endian.ll
test/CodeGen/ARM/load-combine.ll
test/CodeGen/PowerPC/ppc64le-aggregates.ll
test/CodeGen/X86/load-combine.ll