diff options
author | Ramkumar Ramachandra <ram.ramachandra@arm.com> | 2024-04-18 10:03:07 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-18 10:03:07 +0100 |
commit | 63d8058ef50a3186b6b6a5db254f44673fea3d19 (patch) | |
tree | d56193512dafe4a7bd1e415baee9d59cb9c0c0d2 /llvm/lib/CodeGen/AsmPrinter/DebugHandlerBase.cpp | |
parent | 61f400165c64894374d23ffbcbebc8650d974961 (diff) | |
download | llvm-63d8058ef50a3186b6b6a5db254f44673fea3d19.zip llvm-63d8058ef50a3186b6b6a5db254f44673fea3d19.tar.gz llvm-63d8058ef50a3186b6b6a5db254f44673fea3d19.tar.bz2 |
LoopVectorize: guard appending InstsToScalarize; fix bug (#88720)
In the process of collecting instructions to scalarize, LoopVectorize
uses faulty reasoning whereby it also adds instructions that will be
scalar after vectorization. If an instruction satisfies
isScalarAfterVectorization() for the given VF, it should not be appended
to InstsToScalarize. Add this extra guard, fixing a crash.
Fixes #55096.
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DebugHandlerBase.cpp')
0 files changed, 0 insertions, 0 deletions