File: nullptr-metadata-test.ll

package info (click to toggle)
spirv-llvm-translator-21 21.1.4-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 17,620 kB
  • sloc: cpp: 47,835; ansic: 6,283; lisp: 3,878; sh: 162; python: 58; makefile: 42
file content (10 lines) | stat: -rw-r--r-- 245 bytes parent folder | download | duplicates (12)
1
2
3
4
5
6
7
8
9
10
; This test ensures that the translator does not crash
; RUN: llvm-as %s -o %t.bc
; RUN: llvm-spirv %t.bc -o %t.spv

; ModuleID = 'test.bc'
target triple = "spir64"

declare dllexport void @test_func(i32) #0

attributes #0 = { "VCSLMSize"="0" }