1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 20:51:52 +01:00

Add a regression test for the recent fix for FP_TO_UINT lowering in the ppc

backend.

llvm-svn: 23995
This commit is contained in:
Nate Begeman 2005-10-25 23:53:21 +00:00
parent a63b42ad1e
commit 9570b6e9e5

View File

@ -0,0 +1,9 @@
; RUN: llvm-as < %s | llc -march=ppc32 | grep fctiwz | wc -l | grep 1
implementation
ushort %foo(float %a) {
entry:
%tmp.1 = cast float %a to ushort
ret ushort %tmp.1
}