Author: Kai Luo Date: 2020-04-22T14:54:22-07:00 New Revision: 5086fa033344b5b16db92c9aa75be1e061921842
URL: https://github.com/llvm/llvm-project/commit/5086fa033344b5b16db92c9aa75be1e061921842 DIFF: https://github.com/llvm/llvm-project/commit/5086fa033344b5b16db92c9aa75be1e061921842.diff LOG: [PowerPC] Pre-commit reduced test case for PR45297. NFC. (cherry picked from commit 70f9f4dd9d19ed2cec0d9adf60fede9401898b85) Added: llvm/test/CodeGen/PowerPC/pr45297.ll Modified: Removed: ################################################################################ diff --git a/llvm/test/CodeGen/PowerPC/pr45297.ll b/llvm/test/CodeGen/PowerPC/pr45297.ll new file mode 100644 index 000000000000..71c19744fb70 --- /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 +} _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits