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

Chris Lattner clattner at apple.com
Sun Jun 14 22:46:16 PDT 2009


On Jun 11, 2009, at 12:16 PM, Eli Friedman wrote:

> 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.

You're right, fixed in r73380.  Thanks Eli!

-Chris



More information about the llvm-commits mailing list