mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 03:02:36 +01:00
eed19ff5a2
This patch is related to https://reviews.llvm.org/D100032 which define some illegal types or operations for x86_amx. There are no arguments, arrays, pointers, vectors or constants of x86_amx. Reviewed By: pengfei Differential Revision: https://reviews.llvm.org/D100472
9 lines
180 B
LLVM
9 lines
180 B
LLVM
; 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!
|