llvm-6502/test/Transforms/InstCombine/2009-06-11-StoreAddrSpace.ll
Chris Lattner 3590abfda0 Fix 4366: store to null in non-default addr space should not be
turned into unreachable.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73195 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-11 17:54:56 +00:00

8 lines
143 B
LLVM

; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep store
; PR4366
define void @a() {
store i32 0, i32 addrspace(1)* null
ret void
}