[SLP][NFC] Test showing a cost estimation issue caused by f82eb7e066f322a231627383fc8...
authorVasileios Porpodas <vporpodas@google.com>
Wed, 19 Apr 2023 00:47:18 +0000 (17:47 -0700)
committerVasileios Porpodas <vporpodas@google.com>
Wed, 19 Apr 2023 21:32:16 +0000 (14:32 -0700)
commita72bcc1252e3d6c566a8ca470c20d9f9f3e93156
tree2e268709e1ea3b4d1f9b31962fc7300560e2f88b
parent87cec865979cb1e5c172bcdbb78e834bf4935c0f
[SLP][NFC] Test showing a cost estimation issue caused by f82eb7e066f322a231627383fc80522d98ce6181

The buildvector cost for the case shown in the test should be 0 but it is -1, causing the code to get vectorized, whenit shouldn't.

Differential Revision: https://reviews.llvm.org/D148732
llvm/test/Transforms/SLPVectorizer/X86/buildvector-float-and-extract-lane1.ll [new file with mode: 0644]