diff options
author | Chris Lattner <sabre@nondot.org> | 2002-04-14 06:23:00 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-04-14 06:23:00 +0000 |
commit | b42b7f921af95025a665129adbbb51fbf25d982c (patch) | |
tree | a4a14d39de8d863caf37b6d23d55c7d4ae60a369 /test/CodeGen | |
parent | 649f5dd77aed380f9f7e404bda6cb4abaf5557d9 (diff) |
Checkin first unit testcases for the backend
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2249 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen')
-rw-r--r-- | test/CodeGen/Generic/2002-04-14-UnexpectedUnsignedType.ll | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/test/CodeGen/Generic/2002-04-14-UnexpectedUnsignedType.ll b/test/CodeGen/Generic/2002-04-14-UnexpectedUnsignedType.ll new file mode 100644 index 0000000000..6e617361bc --- /dev/null +++ b/test/CodeGen/Generic/2002-04-14-UnexpectedUnsignedType.ll @@ -0,0 +1,13 @@ +; This causes the backend to assert out with: +; SparcInstrInfo.cpp:103: failed assertion `0 && "Unexpected unsigned type"' +; +implementation + +declare void "bar"(sbyte* %G) + +void "foo"() +begin + %cast225 = cast ulong 123456 to sbyte* ; <sbyte*> [#uses=1] + call void %bar( sbyte* %cast225) + ret void +end |