[AsmParser] Remove some redundant checks for align attributes
authorNikita Popov <npopov@redhat.com>
Tue, 11 Oct 2022 07:53:08 +0000 (09:53 +0200)
committerNikita Popov <npopov@redhat.com>
Tue, 11 Oct 2022 07:53:08 +0000 (09:53 +0200)
commit7b7d3b20ffec9f0af0534178117a7e0c250f6a79
tree52856dd2a512df565c805689f8d19e2bd616a700
parent15c1ab25ab85cb62a305664cc8b418a9b912bf4e
[AsmParser] Remove some redundant checks for align attributes

The verifier already has a more general check that the attribute is
legal for the position it is used in.
llvm/lib/AsmParser/LLParser.cpp
llvm/test/Assembler/call-invalid-1.ll