diff options
author | yingopq <115543042+yingopq@users.noreply.github.com> | 2025-01-24 20:03:03 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-24 20:03:03 +0800 |
commit | d6e0798a2a7cef94b2457f39c93f7083aaebd29d (patch) | |
tree | 43cadf335dd1205de9cdbd6d34e650c8adfb54e7 /llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp | |
parent | acc13dbe4dcbfeafec24211148683a8b7e9c4cf0 (diff) | |
download | llvm-d6e0798a2a7cef94b2457f39c93f7083aaebd29d.zip llvm-d6e0798a2a7cef94b2457f39c93f7083aaebd29d.tar.gz llvm-d6e0798a2a7cef94b2457f39c93f7083aaebd29d.tar.bz2 |
[Mips] Add the missing judgment when processing function handleMFLOSlot (#121463)
In function handleMFLOSlot, we may get a variable LastInstInFunction
with a value of true from function getNextMachineInstr and IInSlot may
be null which would trigger an assert.
So we need to skip this case.
Fix #118223.
Diffstat (limited to 'llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp')
0 files changed, 0 insertions, 0 deletions