[clang] Bfi precision (PR #66285)

Duncan P. N. Exon Smith via cfe-commits cfe-commits at lists.llvm.org
Sat Oct 28 11:02:29 PDT 2023


dexonsmith wrote:

Interesting. Probably `Value::getMetadata()` could/should call `DenseMap::find()` instead of `operator[]()` and assert that it's found before dereferencing, because `Value::hasMetadata()` (which, IIRC, consults a bit stored in `Value`) has already promised something will be there. Probably you'll find me on the git-blame for this...

Your plan SGTM!

https://github.com/llvm/llvm-project/pull/66285


More information about the cfe-commits mailing list