[PATCH] D24772: [ValueTracking] Fix crash in GetPointerBaseWithConstantOffset()

Sanjoy Das via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 26 12:21:32 PDT 2016


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

lgtm

Btw, this looks like a good reason to change `accumulateConstantOffset` to return an `Optional<APInt>` of the right bitwidth.


https://reviews.llvm.org/D24772





More information about the llvm-commits mailing list