aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/AsmPrinter/DebugHandlerBase.cpp
diff options
context:
space:
mode:
authorRamkumar Ramachandra <ram.ramachandra@arm.com>2024-04-18 10:03:07 +0100
committerGitHub <noreply@github.com>2024-04-18 10:03:07 +0100
commit63d8058ef50a3186b6b6a5db254f44673fea3d19 (patch)
treed56193512dafe4a7bd1e415baee9d59cb9c0c0d2 /llvm/lib/CodeGen/AsmPrinter/DebugHandlerBase.cpp
parent61f400165c64894374d23ffbcbebc8650d974961 (diff)
downloadllvm-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