[PATCH] D38501: [ValueTracking] Fix a misuse of APInt in GetPointerBaseWithConstantOffset

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 5 14:34:14 PDT 2017


efriedma added a comment.

> Yes. Isn't that the point of this patch?

Well, in theory there's a crash on trunk that can happen without exotic pointers (something like "gep i64, i64* %x, i128 INT128_MIN" will cause an assertion failure in getSExtValue().)


https://reviews.llvm.org/D38501





More information about the llvm-commits mailing list