From: Chris Lattner Date: Mon, 12 Dec 2005 22:27:22 +0000 (+0000) Subject: Testcase for a problem that reid ran into X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=a92dabb25994a27197bde414aae8d1f6b05727b2;p=oota-llvm.git Testcase for a problem that reid ran into git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24676 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CodeGen/Generic/2005-12-12-ExpandSextInreg.ll b/test/CodeGen/Generic/2005-12-12-ExpandSextInreg.ll new file mode 100644 index 00000000000..20ef2d9f063 --- /dev/null +++ b/test/CodeGen/Generic/2005-12-12-ExpandSextInreg.ll @@ -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 +}