commit | ef43c2de8639689dafdb8b580e75bcaae19a8dbb | [log] [tgz] |
---|---|---|
author | Akira Hatanaka <ahatanaka@mips.com> | Tue Dec 20 22:40:40 2011 +0000 |
committer | Akira Hatanaka <ahatanaka@mips.com> | Tue Dec 20 22:40:40 2011 +0000 |
tree | 2cc0165a99139ace2d649c77eb7d9acedc21ba02 | |
parent | acb5a06f7a44a4bf48e98a1a857be25338c1bdc3 [diff] [blame] |
32-to-64-bit sext_inreg pattern. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@147004 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/CodeGen/Mips/mips64ext.ll b/test/CodeGen/Mips/mips64ext.ll index ae6078b..7981ec7 100644 --- a/test/CodeGen/Mips/mips64ext.ll +++ b/test/CodeGen/Mips/mips64ext.ll
@@ -9,3 +9,11 @@ %conv = zext i32 %add to i64 ret i64 %conv } + +define i64 @sext64_32(i32 %a) nounwind readnone { +entry: +; CHECK: sll ${{[0-9]+}}, ${{[0-9]+}}, 0 + %conv = sext i32 %a to i64 + ret i64 %conv +} +