[PATCH] D77029: Fix out-of-bounds BitVector access in RegScavenger

Brad Moody via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 19 23:15:52 PDT 2020


bmoody added a comment.

When I add the assert to BitVector::set, 40 codegen tests start failing but those tests are currently passing so they're not really exercising this behaviour.  It's easy enough to write a test that executes this code, but I don't know how I'd write a test that fails due to this bug.


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