File tree Expand file tree Collapse file tree 1 file changed +9
-4
lines changed
llvm/test/CodeGen/PowerPC Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change 1+ ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 5
12; RUN: llc -verify-machineinstrs -mcpu=pwr8 -mtriple=powerpc64le-unknown-linux-gnu < %s | FileCheck %s
23
34; This code causes an assertion failure if dereferenceable flag is not properly set when in merging consecutive stores
4- ; CHECK-LABEL: func:
5- ; CHECK: lxvd2x [[REG1:[0-9]+]], {{[0-9]+}}, {{[0-9]+}}
6- ; CHECK-NOT: lxvd2x
7- ; CHECK: stxvd2x [[REG1:[0-9]+]], {{[0-9]+}}, {{[0-9]+}}
85
96define <2 x i64 > @func (ptr %pdst ) {
7+ ; CHECK-LABEL: func:
8+ ; CHECK: # %bb.0: # %entry
9+ ; CHECK-NEXT: addi 4, 1, -32
10+ ; CHECK-NEXT: lxvd2x 0, 0, 4
11+ ; CHECK-NEXT: xxswapd 34, 0
12+ ; CHECK-NEXT: lxvd2x 0, 0, 4
13+ ; CHECK-NEXT: stxvd2x 0, 0, 3
14+ ; CHECK-NEXT: blr
1015entry:
1116 %a = alloca [4 x i64 ], align 8
1217 %psrc1 = getelementptr inbounds i64 , ptr %a , i64 1
You can’t perform that action at this time.
0 commit comments