Revert 374373: [Codegen] Alter the default promotion for saturating adds and subs
commit043238b41c3315971cb9866b602725e26a5ad589
authorDavid Green <david.green@arm.com>
Fri, 11 Oct 2019 20:33:03 +0000 (11 20:33 +0000)
committerDavid Green <david.green@arm.com>
Fri, 11 Oct 2019 20:33:03 +0000 (11 20:33 +0000)
tree661eb87520f5459612309adef27d4cf294700877
parent79c7f62d91c277b75ad4ceaf1c652699c93b15df
Revert 374373: [Codegen] Alter the default promotion for saturating adds and subs

This commit is not extending the promoted integers as it should. Reverting
whilst I look into the details.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@374592 91177308-0d34-0410-b5e6-96231b3b80d8
17 files changed:
lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
test/CodeGen/AArch64/sadd_sat.ll
test/CodeGen/AArch64/sadd_sat_vec.ll
test/CodeGen/AArch64/ssub_sat.ll
test/CodeGen/AArch64/ssub_sat_vec.ll
test/CodeGen/AArch64/uadd_sat.ll
test/CodeGen/AArch64/uadd_sat_vec.ll
test/CodeGen/AArch64/usub_sat.ll
test/CodeGen/AArch64/usub_sat_vec.ll
test/CodeGen/ARM/sadd_sat.ll
test/CodeGen/ARM/ssub_sat.ll
test/CodeGen/ARM/uadd_sat.ll
test/CodeGen/ARM/usub_sat.ll
test/CodeGen/X86/sadd_sat.ll
test/CodeGen/X86/ssub_sat.ll
test/CodeGen/X86/uadd_sat.ll
test/CodeGen/X86/usub_sat.ll