LLParser: Accept align(N) as new syntax for parameter attribute
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Fri, 26 Jun 2020 20:02:25 +0000 (16:02 -0400)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Fri, 26 Jun 2020 22:10:21 +0000 (18:10 -0400)
commitb091c9a3e180f45c35a7e1fdd8e383c0098d9210
tree5a8cb5cef3bd834745b411b7c2784a90e5637bde
parent443556c18f5310b03891f4685ac3831bdcf6f5c7
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.
llvm/docs/LangRef.rst
llvm/lib/AsmParser/LLParser.cpp
llvm/lib/AsmParser/LLParser.h
llvm/test/Assembler/align-param-attr-error0.ll [new file with mode: 0644]
llvm/test/Assembler/align-param-attr-error1.ll [new file with mode: 0644]
llvm/test/Assembler/align-param-attr-error2.ll [new file with mode: 0644]
llvm/test/Assembler/align-param-attr-format.ll [new file with mode: 0644]