File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change 33; RUN: opt -enable-new-pm=0 --opaque-pointers=0 -load libjulia-codegen%shlibext -RemoveJuliaAddrspaces -S %s | FileCheck %s --check-prefixes=CHECK,TYPED
44; RUN: opt -enable-new-pm=1 --opaque-pointers=0 --load-pass-plugin=libjulia-codegen%shlibext -passes='RemoveJuliaAddrspaces' -S %s | FileCheck %s --check-prefixes=CHECK,TYPED
55
6+ ; COM: check that the addrspace of the global itself is removed
7+ ; OPAQUE: @ejl_enz_runtime_exc = external global {}
8+ @ejl_enz_runtime_exc = external addrspace (10 ) global {}
69
710; COM: check that the addrspace of the global itself is removed
811; OPAQUE: @ejl_enz_runtime_exc = external global {}
131134 unreachable
132135}
133136
137+ define private fastcc void @diffejulia__mapreduce_97 () {
138+ L6:
139+ ; OPAQUE: store atomic ptr @ejl_enz_runtime_exc, ptr null unordered
140+ store atomic {} addrspace (10 )* @ejl_enz_runtime_exc , {} addrspace (10 )* addrspace (10 )* null unordered , align 8
141+ unreachable
142+ }
143+
134144; COM: check that function attributes are preserved on declarations too
135145declare void @convergent_function () #0
136146attributes #0 = { convergent }
You can’t perform that action at this time.
0 commit comments