This fixes the immediate crash caused by introducing an incorrect inttoptr
before attempting the conversion. There may still be a legality
check missing somewhere earlier for non-integral pointers, but this change
seems necessary in any case.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
The behavioral change looks fine to me, but I'll have to defer to @dberlin on whether this is the right place to do make the change.
Comment Actions
This looks generally fine. I expect you are going to have some other issues (load widening, etc) to solve around these areas.