[llvm] 70f9f4d - [PowerPC] Pre-commit reduced test case for PR45297. NFC.

Kai Luo via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 24 23:35:11 PDT 2020


Author: Kai Luo
Date: 2020-03-25T06:19:59Z
New Revision: 70f9f4dd9d19ed2cec0d9adf60fede9401898b85

URL: https://github.com/llvm/llvm-project/commit/70f9f4dd9d19ed2cec0d9adf60fede9401898b85
DIFF: https://github.com/llvm/llvm-project/commit/70f9f4dd9d19ed2cec0d9adf60fede9401898b85.diff

LOG: [PowerPC] Pre-commit reduced test case for PR45297. NFC.

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
+}


        


More information about the llvm-commits mailing list