From 6a314b58c7851a2137b3b534d9edf0fe992ed475 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Mon, 11 Mar 2002 20:28:16 +0000 Subject: [PATCH] Testcase that causes an assertion failure in lib/Analysis/Expressions.cpp git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1855 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Other/2002-03-11-ExprAssertion.ll | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 test/Other/2002-03-11-ExprAssertion.ll diff --git a/test/Other/2002-03-11-ExprAssertion.ll b/test/Other/2002-03-11-ExprAssertion.ll new file mode 100644 index 00000000000..4c6dcb642a9 --- /dev/null +++ b/test/Other/2002-03-11-ExprAssertion.ll @@ -0,0 +1,13 @@ +; RUN: analyze -exprs %s + +implementation + +void "foo"(int %reg126) +begin + %cast1007 = cast int %reg126 to uint ; [#uses=1] + + %reg119 = sub uint %cast1007, %cast1007 ; [#uses=1] + %cast121 = cast uint %reg119 to sbyte * ; [#uses=1] + + ret void +end -- 2.34.1