We were trying to add APInt values with different bit sizes after
visiting an addrspacecast instruction which changed the bit width
of the pointer.
Details
Details
Diff Detail
Diff Detail
Event Timeline
lib/Analysis/Loads.cpp | ||
---|---|---|
97 | I realize that we don't support object sizes > 2^64, but this seems a bit odd because you're sign extending by converting to a uint64_t unnecessarily. I'd rather you write: Offset + Size.sextOrTrunc(Offset.getBitWidth()) Otherwise, this LGTM. |
I realize that we don't support object sizes > 2^64, but this seems a bit odd because you're sign extending by converting to a uint64_t unnecessarily. I'd rather you write:
Otherwise, this LGTM.