]> granicus.if.org Git - llvm/commit
Revert "[CodeGen][X86] Expand USUBSAT to UMAX+SUB, also for vectors"
authorNikita Popov <nikita.ppv@gmail.com>
Mon, 14 Jan 2019 22:18:39 +0000 (22:18 +0000)
committerNikita Popov <nikita.ppv@gmail.com>
Mon, 14 Jan 2019 22:18:39 +0000 (22:18 +0000)
commitf0a0953bb6e094ff62d90ec00e88050ec8be63e9
tree24d38840396994efb4783e4b311ed740519ba0d6
parentd2d60da2b7620377cbad510353b5d18032b4b440
Revert "[CodeGen][X86] Expand USUBSAT to UMAX+SUB, also for vectors"

This reverts commit r351125.

I missed test changes in an SLPVectorizer test, due to the cost model
changes. Reverting for now.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@351129 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
lib/CodeGen/SelectionDAG/TargetLowering.cpp
lib/Target/X86/X86TargetTransformInfo.cpp
test/Analysis/CostModel/X86/arith-usat.ll
test/CodeGen/X86/usub_sat.ll
test/CodeGen/X86/usub_sat_vec.ll