From 2311d717f86590f79148b513a3747b4a85443fa3 Mon Sep 17 00:00:00 2001 From: Robert Bocchino Date: Tue, 27 Jul 2004 20:50:02 +0000 Subject: [PATCH] *** empty log message *** git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15290 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Transforms/InstCombine/2004-07-27-ConstantExprMul.ll | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 test/Transforms/InstCombine/2004-07-27-ConstantExprMul.ll diff --git a/test/Transforms/InstCombine/2004-07-27-ConstantExprMul.ll b/test/Transforms/InstCombine/2004-07-27-ConstantExprMul.ll new file mode 100644 index 00000000000..aa95320ac1f --- /dev/null +++ b/test/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 +} -- 2.34.1