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
1
2
; RUN: llc -verify-machineinstrs -mcpu=pwr8 -mtriple=powerpc64le-unknown-linux-gnu < %s | FileCheck %s
2
3
3
4
; 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]+}}
8
5
9
6
define <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
10
15
entry:
11
16
%a = alloca [4 x i64 ], align 8
12
17
%psrc1 = getelementptr inbounds i64 , ptr %a , i64 1
You can’t perform that action at this time.
0 commit comments