aboutsummaryrefslogtreecommitdiff
path: root/llvm/test/Verifier/x86_amx7.ll
blob: 8d8f7c44b21fdea87bb26e7ec5025e5d8bdedd5c (plain)
1
2
3
4
5
6
7
8
; RUN: not llvm-as %s -o /dev/null 2>&1 | FileCheck %s

define void @f() {
entry:
  call x86_amx () undef ()
  ret void
}
; CHECK: Return type cannot be x86_amx for indirect call!