From af0decf1d9d8da598d2b1c8a0f5cfb0406c98a81 Mon Sep 17 00:00:00 2001 From: Robert Bocchino Date: Tue, 27 Jul 2004 20:50:02 +0000 Subject: [PATCH] *** empty log message *** llvm-svn: 15290 --- .../Transforms/InstCombine/2004-07-27-ConstantExprMul.ll | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 test/Regression/Transforms/InstCombine/2004-07-27-ConstantExprMul.ll diff --git a/test/Regression/Transforms/InstCombine/2004-07-27-ConstantExprMul.ll b/test/Regression/Transforms/InstCombine/2004-07-27-ConstantExprMul.ll new file mode 100644 index 00000000000..aa95320ac1f --- /dev/null +++ b/test/Regression/Transforms/InstCombine/2004-07-27-ConstantExprMul.ll @@ -0,0 +1,8 @@ +; RUN: llvm-as < %s | opt -instcombine -disable-output + +%p = weak global int 0 + +int %test(int %x) { + %y = mul int %x, cast (int* %p to int) + ret int %y +}