Testcase for a problem that reid ran into
authorChris Lattner <sabre@nondot.org>
Mon, 12 Dec 2005 22:27:22 +0000 (22:27 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 12 Dec 2005 22:27:22 +0000 (22:27 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24676 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/Generic/2005-12-12-ExpandSextInreg.ll [new file with mode: 0644]

diff --git a/test/CodeGen/Generic/2005-12-12-ExpandSextInreg.ll b/test/CodeGen/Generic/2005-12-12-ExpandSextInreg.ll
new file mode 100644 (file)
index 0000000..20ef2d9
--- /dev/null
@@ -0,0 +1,7 @@
+; RUN: llvm-as < %s | llc
+
+long %test(long %A) {
+       %B = cast long %A to sbyte
+       %C = cast sbyte %B to long
+       ret long %C
+}