diff options
author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2025-01-07 12:23:33 +0000 |
---|---|---|
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2025-01-07 12:23:45 +0000 |
commit | a5e129ccdedf5c269a8e0fcad5e21381a7f0342c (patch) | |
tree | 99f2dcce7116696803d29dceb7dd278f5050add3 /clang/lib/Frontend | |
parent | 1eed780a6a01b5b10de8a723318f0153b5adea0a (diff) | |
download | llvm-a5e129ccdedf5c269a8e0fcad5e21381a7f0342c.zip llvm-a5e129ccdedf5c269a8e0fcad5e21381a7f0342c.tar.gz llvm-a5e129ccdedf5c269a8e0fcad5e21381a7f0342c.tar.bz2 |
[CostModel][X86] getVectorInstrCost - correctly cost v4f32 insertelement into index 0
This is just the MOVSS instruction (SSE41 INSERTPS is still necessary for index != 0)
This exposed an issue in VectorCombine::foldInsExtFNeg - we need to use the more general SK_PermuteTwoSrc shuffle kind to allow getShuffleCost to match other shuffle kinds (not just SK_Select).
Diffstat (limited to 'clang/lib/Frontend')
0 files changed, 0 insertions, 0 deletions