[AArch64] Add TypePromotion tests and regenerate atomic test check lines
authorDavid Green <david.green@arm.com>
Wed, 29 Sep 2021 13:35:09 +0000 (14:35 +0100)
committerDavid Green <david.green@arm.com>
Wed, 29 Sep 2021 13:35:09 +0000 (14:35 +0100)
commita8031c92072137d7e9290511040a0d9c267bd461
tree3c6f5d8ade117c9cae952340b0b75305e40e5346
parent465d2adbfb59039be50beb37c4aa22e4b45cea16
[AArch64] Add TypePromotion tests and regenerate atomic test check lines

This adds some extra tests for TypePromotion as per D110239, and
regenerated the check lines in atomic-ops.ll and cmpxchg-idions.ll to be
more easy to maintain with changing codegen (hopefully in a way that
does not reduce what is tested).
llvm/test/CodeGen/AArch64/atomic-ops.ll
llvm/test/CodeGen/AArch64/cmpxchg-idioms.ll
llvm/test/CodeGen/AArch64/signed-truncation-check.ll
llvm/test/CodeGen/AArch64/typepromotion-overflow.ll [new file with mode: 0644]
llvm/test/CodeGen/AArch64/typepromotion-phisret.ll [new file with mode: 0644]
llvm/test/CodeGen/AArch64/typepromotion-signed.ll [new file with mode: 0644]