[PATCH] D99121: [IR][InstCombine] IntToPtr Produces Typeless Pointer To Byte

Ruiling, Song via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Mar 25 23:28:34 PDT 2021


ruiling added a comment.

Then what do you think of my initial change for the issue (D99051 <https://reviews.llvm.org/D99051>) considering it does not show regression in any existing test? @nikic @nlopes It has a test showing the initial problem I want to solve. @lebedev.ri helped writing this patch to solve the problem more completely. But I guess D99051 <https://reviews.llvm.org/D99051> is enough for the initial problem, our frontend would less likely generating two pointers pointing to different types through `inttoptr` from the same integer.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D99121/new/

https://reviews.llvm.org/D99121



More information about the cfe-commits mailing list