commit | 494fdf1499bfa970f2ed938007acc69bfcc03118 | [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 | da7a31dda05e18f8d4ae211b5fe6ab4f25e7dd64 | |
parent | 8756816e6f3527db2cd2b46b8b7b49a707203803 [diff] [blame] |
32-to-64-bit sext_inreg pattern. llvm-svn: 147004
diff --git a/llvm/test/CodeGen/Mips/mips64ext.ll b/llvm/test/CodeGen/Mips/mips64ext.ll index ae6078b..7981ec7 100644 --- a/llvm/test/CodeGen/Mips/mips64ext.ll +++ b/llvm/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 +} +