Files
clang-p2996/llvm/lib/Target/RISCV/RISCVPushPopOptimizer.cpp
Anmol P. Paralkar 53e89f5e3f [RISCV] Add bounds check before use on returned iterator.
Check iterator validity before use; fixes a crash seen in the RISC-V
Zcmp Push/Pop optimization pass when compiling an internal benchmark.

Reviewed By: asb, wangpc

Differential Revision: https://reviews.llvm.org/D157674
2023-08-14 16:06:09 -07:00

5.3 KiB