File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed
llvm/test/CodeGen/PowerPC Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change 1
- ; RUN: llc -verify-machineinstrs -mtriple=powerpc64le-unknown-linux-gnu \
2
- ; RUN: -mattr=+altivec -mattr=-power8-vector -mattr=-vsx < %s | FileCheck %s
3
- ; XFAIL: *
1
+ ; RUN: not --crash llc -verify-machineinstrs \
2
+ ; RUN: -mtriple=powerpc64le-unknown-linux-gnu -mattr=+altivec \
3
+ ; RUN: -mattr=-power8-vector -mattr=-vsx < %s 2>&1 | FileCheck %s
4
+ ; CHECK: LLVM ERROR: Cannot select: t{{[0-9]+}}: ch = PPCISD::ST_VSR_SCAL_INT<(store 4 into @Global)>
5
+
6
+ @Global = dso_local global i32 55 , align 4
4
7
5
8
define dso_local void @test (float %0 ) local_unnamed_addr {
6
9
entry:
7
10
%1 = fptosi float %0 to i32
8
- store i32 %1 , i32* undef , align 4
11
+ store i32 %1 , i32* @Global , align 4
9
12
ret void
10
13
}
You can’t perform that action at this time.
0 commit comments