1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00
llvm-mirror/test/Assembler/align-param-attr-format.ll
Matt Arsenault e686e7788e LLParser: Accept align(N) as new syntax for parameter attribute
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.
2020-06-26 18:10:21 -04:00

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
}