[PATCH] D74738: Revert "[GISel]: Fix incorrect IRTranslation while translating null pointer types"

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 3 15:33:30 PST 2020


arsenm added a comment.

In D74738#1904305 <https://reviews.llvm.org/D74738#1904305>, @aemerson wrote:

> Which part of the langref are you referring to?


http://llvm.org/docs/LangRef.html#simple-constants, Null pointer constants. This falls short in actually saying this means a bit-value 0 pointer in all address spaces, but all of the code treats it this way.

> Anyway, we discussed this internally and this seems slightly better than using inttoptr.




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

https://reviews.llvm.org/D74738





More information about the llvm-commits mailing list