aboutsummaryrefslogtreecommitdiff
path: root/flang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2025-06-25 16:30:35 +0100
committerGitHub <noreply@github.com>2025-06-25 16:30:35 +0100
commit8202c94cec415400ee49ab287628261809542fed (patch)
treecda8f811c57b665132fffb003dbc5442a6215b7a /flang/lib/Frontend/CompilerInvocation.cpp
parent81e07996aa8b818ec72c110ac98a98a450de4aee (diff)
downloadllvm-8202c94cec415400ee49ab287628261809542fed.zip
llvm-8202c94cec415400ee49ab287628261809542fed.tar.gz
llvm-8202c94cec415400ee49ab287628261809542fed.tar.bz2
[CostModel][X86] getMaskedMemoryOpCost - widening masks must compute the cost of the full width insert_subvector across multiple legal vectors (#145693)
The memory value and mask value types might legalise differently - e.g. a v64i32 might split into 4 x v16i32 / 8 x v8i32 but the mask might legalize as 1 x v64i8 / 2 x v32i8 etc. If the legalised value type has been split, then we must ensure we compute the cost for the entire mask value type and let getShuffleCost handle any legalisation, not assume that only a single trailing split mask will require widening.
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions