Skip to content

Commit

Permalink
Add lit test.
Browse files Browse the repository at this point in the history
  • Loading branch information
maleadt committed Apr 17, 2024
1 parent 713b605 commit 3c45888
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions test/llvmpasses/gc-invariant-verifier.ll
@@ -0,0 +1,13 @@
; This file is a part of Julia. License is MIT: https://julialang.org/license

; RUN: opt -enable-new-pm=1 --opaque-pointers=1 --load-pass-plugin=libjulia-codegen%shlibext -passes='function(GCInvariantVerifier)' -S %s | FileCheck %s

; CHECK-LABEL: @vectorized_addrspacecast
define ptr addrspace(10) @vectorized_addrspacecast() {
top:
ret ptr addrspace(10) null

vector.ph:
%0 = addrspacecast <4 x ptr addrspace(10)> zeroinitializer to <4 x ptr addrspace(11)>
unreachable
}

0 comments on commit 3c45888

Please sign in to comment.