
The 2^14 limit was completely arbitrary; the generic limit is still arbitrary, but at least it's the same arbitrary limit as everything else. While I'm here, also add a verifier check for the ByValOrByRefSize.
11 lines
255 B
LLVM
11 lines
255 B
LLVM
; RUN: not llvm-as < %s 2>&1 | FileCheck %s
|
|
|
|
; CHECK: huge alignments are not supported yet
|
|
define dso_local void @foo(ptr %p) {
|
|
entry:
|
|
call void @bar(ptr noundef byval(<8 x float>) align 8589934592 %p)
|
|
ret void
|
|
}
|
|
|
|
declare dso_local void @bar(ptr %p)
|