aboutsummaryrefslogtreecommitdiff
path: root/test/Transforms/InstCombine/2009-06-11-StoreAddrSpace.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Transforms/InstCombine/2009-06-11-StoreAddrSpace.ll')
-rw-r--r--test/Transforms/InstCombine/2009-06-11-StoreAddrSpace.ll7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/Transforms/InstCombine/2009-06-11-StoreAddrSpace.ll b/test/Transforms/InstCombine/2009-06-11-StoreAddrSpace.ll
new file mode 100644
index 000000000000..e86fed3c3644
--- /dev/null
+++ b/test/Transforms/InstCombine/2009-06-11-StoreAddrSpace.ll
@@ -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
+}