Add and adjust saturating tests. NFC
authorDavid Green <david.green@arm.com>
Wed, 9 Oct 2019 14:17:38 +0000 (14:17 +0000)
committerDavid Green <david.green@arm.com>
Wed, 9 Oct 2019 14:17:38 +0000 (14:17 +0000)
commitfcc9c4627e93f491c2a488af1f20551b9d156b18
tree2e3cab60c71a4abf8eb7038d835c5194b629077f
parent9a3a87d189753b7cea14d109c012ba37671e4adf
Add and adjust saturating tests. NFC

This adds some extra testing to the existing [su][add/sub]_sat X86 and AArch64
tests and adds equivalent tests for ARM.

llvm-svn: 374169
12 files changed:
llvm/test/CodeGen/AArch64/sadd_sat.ll
llvm/test/CodeGen/AArch64/ssub_sat.ll
llvm/test/CodeGen/AArch64/uadd_sat.ll
llvm/test/CodeGen/AArch64/usub_sat.ll
llvm/test/CodeGen/ARM/sadd_sat.ll [new file with mode: 0644]
llvm/test/CodeGen/ARM/ssub_sat.ll [new file with mode: 0644]
llvm/test/CodeGen/ARM/uadd_sat.ll [new file with mode: 0644]
llvm/test/CodeGen/ARM/usub_sat.ll [new file with mode: 0644]
llvm/test/CodeGen/X86/sadd_sat.ll
llvm/test/CodeGen/X86/ssub_sat.ll
llvm/test/CodeGen/X86/uadd_sat.ll
llvm/test/CodeGen/X86/usub_sat.ll