[PATCH] D77029: Fix out-of-bounds BitVector access in RegScavenger
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 22 13:26:47 PDT 2020
arsenm added inline comments.
================
Comment at: llvm/lib/CodeGen/RegisterScavenging.cpp:126
if (MO.clobbersPhysReg(*RURI)) {
TmpRegUnits.set(RU);
break;
----------------
I assume if you put an unreachable here, something breaks? If you find that testcase, it should be easy to derive one
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D77029/new/
https://reviews.llvm.org/D77029
More information about the llvm-commits
mailing list