diff options
-rw-r--r-- | test/Transforms/InstCombine/2004-07-27-ConstantExprMul.ll | 8 |
1 files changed, 8 insertions, 0 deletions
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 0000000000..aa95320ac1 --- /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 +} |