commit | e6e4b3a002cc72c017505883227a392bb94230bb | [log] [tgz] |
---|---|---|
author | Akira Hatanaka <ahatanaka@mips.com> | Tue Jan 24 22:05:25 2012 +0000 |
committer | Akira Hatanaka <ahatanaka@mips.com> | Tue Jan 24 22:05:25 2012 +0000 |
tree | b6a4fc9abf16bf75198475010ab28febd6f28d93 | |
parent | c389af94b66d0c5a917f81617bd07ff0864790a0 [diff] [blame] |
Pattern for f32 to i64 conversion. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@148869 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/CodeGen/Mips/mips64ext.ll b/test/CodeGen/Mips/mips64ext.ll index 7981ec7..02a35f8 100644 --- a/test/CodeGen/Mips/mips64ext.ll +++ b/test/CodeGen/Mips/mips64ext.ll
@@ -17,3 +17,10 @@ ret i64 %conv } +define i64 @i64_float(float %f) nounwind readnone { +entry: +; CHECK: trunc.l.s + %conv = fptosi float %f to i64 + ret i64 %conv +} +