diff options
| author | Kai Luo <lkail@cn.ibm.com> | 2020-03-25 06:19:59 +0000 |
|---|---|---|
| committer | Tom Stellard <tstellar@redhat.com> | 2020-04-22 14:54:22 -0700 |
| commit | 5086fa033344b5b16db92c9aa75be1e061921842 (patch) | |
| tree | 4f4f306562a3c41a5e91bcb0f7052e5609ae4817 /llvm/test/CodeGen/PowerPC | |
| parent | 92d5c1be9ee93850c0a8903f05f36a23ee835dc2 (diff) | |
| download | bcm5719-llvm-5086fa033344b5b16db92c9aa75be1e061921842.tar.gz bcm5719-llvm-5086fa033344b5b16db92c9aa75be1e061921842.zip | |
[PowerPC] Pre-commit reduced test case for PR45297. NFC.
(cherry picked from commit 70f9f4dd9d19ed2cec0d9adf60fede9401898b85)
Diffstat (limited to 'llvm/test/CodeGen/PowerPC')
| -rw-r--r-- | llvm/test/CodeGen/PowerPC/pr45297.ll | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/PowerPC/pr45297.ll b/llvm/test/CodeGen/PowerPC/pr45297.ll new file mode 100644 index 00000000000..71c19744fb7 --- /dev/null +++ b/llvm/test/CodeGen/PowerPC/pr45297.ll @@ -0,0 +1,10 @@ +; RUN: llc -verify-machineinstrs -mtriple=powerpc64le-unknown-linux-gnu \ +; RUN: -mattr=+altivec -mattr=-power8-vector -mattr=-vsx < %s | FileCheck %s +; XFAIL: * + +define dso_local void @test(float %0) local_unnamed_addr { +entry: + %1 = fptosi float %0 to i32 + store i32 %1, i32* undef, align 4 + ret void +} |

