[Codegen] Adjust saturation test. NFC.
commitfde2ede6357483abd3575e6fb3b159a62b183c40
authorDavid Green <david.green@arm.com>
Wed, 16 Oct 2019 15:50:42 +0000 (16 15:50 +0000)
committerDavid Green <david.green@arm.com>
Wed, 16 Oct 2019 15:50:42 +0000 (16 15:50 +0000)
tree09d64c935ccbe08559620d67b02d4d2e620b2bdb
parent381c09ac35354db8f183fd78dadab53940323c92
[Codegen] Adjust saturation test. NFC.

Add some extra sat tests and adjust some of the existing tests to use signext where it would naturally be.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@375009 91177308-0d34-0410-b5e6-96231b3b80d8
20 files changed:
test/CodeGen/AArch64/sadd_sat_plus.ll [new file with mode: 0644]
test/CodeGen/AArch64/ssub_sat_plus.ll [new file with mode: 0644]
test/CodeGen/AArch64/uadd_sat_plus.ll [new file with mode: 0644]
test/CodeGen/AArch64/usub_sat_plus.ll [new file with mode: 0644]
test/CodeGen/ARM/sadd_sat.ll
test/CodeGen/ARM/sadd_sat_plus.ll [copied from test/CodeGen/ARM/sadd_sat.ll with 78% similarity]
test/CodeGen/ARM/ssub_sat.ll
test/CodeGen/ARM/ssub_sat_plus.ll [new file with mode: 0644]
test/CodeGen/ARM/uadd_sat.ll
test/CodeGen/ARM/uadd_sat_plus.ll [copied from test/CodeGen/ARM/uadd_sat.ll with 72% similarity]
test/CodeGen/ARM/usub_sat.ll
test/CodeGen/ARM/usub_sat_plus.ll [copied from test/CodeGen/ARM/usub_sat.ll with 72% similarity]
test/CodeGen/X86/sadd_sat.ll
test/CodeGen/X86/sadd_sat_plus.ll [copied from test/CodeGen/X86/sadd_sat.ll with 55% similarity]
test/CodeGen/X86/ssub_sat.ll
test/CodeGen/X86/ssub_sat_plus.ll [copied from test/CodeGen/X86/ssub_sat.ll with 56% similarity]
test/CodeGen/X86/uadd_sat.ll
test/CodeGen/X86/uadd_sat_plus.ll [new file with mode: 0644]
test/CodeGen/X86/usub_sat.ll
test/CodeGen/X86/usub_sat_plus.ll [new file with mode: 0644]