summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/PowerPC
diff options
context:
space:
mode:
authorArtur Pilipenko <apilipenko@azulsystems.com>2017-03-01 18:12:29 +0000
committerArtur Pilipenko <apilipenko@azulsystems.com>2017-03-01 18:12:29 +0000
commite1b2d314688eb74e4510907d902f130b4bee7c81 (patch)
tree076c09455fc76f092e7746ae018624ec1d551d38 /llvm/test/CodeGen/PowerPC
parent7986b4544b9d9e0441466573afebaf9e778c6bed (diff)
downloadbcm5719-llvm-e1b2d314688eb74e4510907d902f130b4bee7c81.tar.gz
bcm5719-llvm-e1b2d314688eb74e4510907d902f130b4bee7c81.zip
[DAGCombiner] Support {a|s}ext, {a|z|s}ext load nodes in load combine
Resubmit r295336 after the bug with non-zero offset patterns on BE targets is fixed (r296336). 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 llvm-svn: 296651
Diffstat (limited to 'llvm/test/CodeGen/PowerPC')
-rw-r--r--llvm/test/CodeGen/PowerPC/ppc64le-aggregates.ll5
1 files changed, 1 insertions, 4 deletions
diff --git a/llvm/test/CodeGen/PowerPC/ppc64le-aggregates.ll b/llvm/test/CodeGen/PowerPC/ppc64le-aggregates.ll
index 25b3e5d8933..6fcbdda4e34 100644
--- a/llvm/test/CodeGen/PowerPC/ppc64le-aggregates.ll
+++ b/llvm/test/CodeGen/PowerPC/ppc64le-aggregates.ll
@@ -284,10 +284,7 @@ entry:
; CHECK-DAG: lfs 12, 12({{[0-9]+}})
; CHECK-DAG: lfs 13, 16({{[0-9]+}})
-; CHECK-DAG: lwz [[REG0:[0-9]+]], 0({{[0-9]+}})
-; CHECK-DAG: lwz [[REG1:[0-9]+]], 4({{[0-9]+}})
-; CHECK-DAG: sldi [[REG2:[0-9]+]], [[REG1]], 32
-; CHECK-DAG: or 10, [[REG0]], [[REG2]]
+; CHECK-DAG: ld 10, 0({{[0-9]+}})
; CHECK: bl test2
declare void @test2([8 x float], [5 x float], [2 x float])
OpenPOWER on IntegriCloud