mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 11:13:28 +01:00
e686e7788e
Every other value parameter attribute uses parentheses, so accept this as the preferred modern syntax. Updating everything to use the new syntax is left for a future change.
14 lines
370 B
LLVM
14 lines
370 B
LLVM
; RUN: llvm-as < %s | llvm-dis | llvm-as | llvm-dis | FileCheck %s
|
|
|
|
; Test that align(N) is accepted as an alternative syntax to align N
|
|
|
|
; CHECK: define void @param_align4(i8* align 4 %ptr) {
|
|
define void @param_align4(i8* align(4) %ptr) {
|
|
ret void
|
|
}
|
|
|
|
; CHECK: define void @param_align128(i8* align 128 %0) {
|
|
define void @param_align128(i8* align(128)) {
|
|
ret void
|
|
}
|