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:
parent
a63b42ad1e
commit
9570b6e9e5
9
test/Regression/CodeGen/PowerPC/fp_to_uint.ll
Normal file
9
test/Regression/CodeGen/PowerPC/fp_to_uint.ll
Normal 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
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user