[SLP][NFC] Test for a follow-up fix of the the vector min/max instrinsic cost calcula...
authorVasileios Porpodas <vporpodas@google.com>
Thu, 24 Feb 2022 02:03:20 +0000 (18:03 -0800)
committerVasileios Porpodas <vporpodas@google.com>
Fri, 25 Feb 2022 02:08:39 +0000 (18:08 -0800)
commit6136f97c69ad06718fc2c335b94ed5abbcb4bb9c
tree5d5b464593689451b103714c079e83607523ed1e
parentf37d21ed20fb069b8706b9a4afbac7d373ecb18b
[SLP][NFC] Test for a follow-up fix of the the vector min/max instrinsic cost calculation.

The code in this test should not have been vectorized.
It looks worse than the scalar code.

Differential Revision: https://reviews.llvm.org/D120438
llvm/test/Transforms/SLPVectorizer/X86/arith-max-cost.ll [new file with mode: 0644]