Revert 374373: [Codegen] Alter the default promotion for saturating adds and subs
commit0513cefdb49fc9e6bcde2c55cbd107bac42b84ca
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
parent7b7792c6a712365452003b5744516f551766373a
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