summaryrefslogtreecommitdiffstats
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 0000000..e5355b8
--- /dev/null
+++ b/test/Transforms/InstCombine/2009-06-11-StoreAddrSpace.ll
@@ -0,0 +1,7 @@
+; RUN: opt < %s -instcombine -S | grep {store i32 0,}
+; PR4366
+
+define void @a() {
+ store i32 0, i32 addrspace(1)* null
+ ret void
+}