[llvm-commits] [llvm] r73195 - in /llvm/trunk: lib/Transforms/Scalar/InstructionCombining.cpp test/Transforms/InstCombine/2009-06-11-StoreAddrSpace.ll

Eli Friedman eli.friedman at gmail.com
Thu Jun 11 12:16:12 PDT 2009


On Thu, Jun 11, 2009 at 10:54 AM, Chris Lattner<sabre at nondot.org> wrote:
> --- llvm/trunk/test/Transforms/InstCombine/2009-06-11-StoreAddrSpace.ll (added)
> +++ llvm/trunk/test/Transforms/InstCombine/2009-06-11-StoreAddrSpace.ll Thu Jun 11 12:54:56 2009
> @@ -0,0 +1,7 @@
> +; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep store
> +; PR4366
> +
> +define void @a() {
> +  store i32 0, i32 addrspace(1)* null
> +  ret void
> +}

This testcase passes even without the patch.

-Eli




More information about the llvm-commits mailing list