[PATCH] D32089: [ValueTracking] Avoid undefined behavior in unittest by not making a named ArrayRef from a std::initializer_list

Sanjoy Das via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 14 10:59:35 PDT 2017


sanjoy accepted this revision.
sanjoy added a comment.
This revision is now accepted and ready to land.

I think used the `ArrayRef` to make sure we range check the accesses, but that's probably redundant since we have sanitizer builds running regularly.


https://reviews.llvm.org/D32089





More information about the llvm-commits mailing list