From: Chris Lattner Date: Tue, 27 May 2003 16:45:09 +0000 (+0000) Subject: New testcase X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=a12f1e79bbca1d2519b67249b14259e6af70f083;p=oota-llvm.git New testcase git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6353 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Transforms/InstCombine/2003-05-27-ConstExprCrash.ll b/test/Transforms/InstCombine/2003-05-27-ConstExprCrash.ll new file mode 100644 index 00000000000..353a036d5b3 --- /dev/null +++ b/test/Transforms/InstCombine/2003-05-27-ConstExprCrash.ll @@ -0,0 +1,8 @@ +; RUN: as < %s | opt -instcombine -disable-output + +%X = global int 5 +long %test() { + %C = add long 1, 2 + %V = add long cast(int* %X to long), %C + ret long %V +}