[PATCH] D47895: llvm: Add support for "-fno-delete-null-pointer-checks"

Andrei Elovikov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 26 00:30:19 PDT 2018


a.elovikov added a comment.

> to change this logic if there is a consensus on how inlining should be handled in case of "null-pointer-isvalid" attribute mismatches.

I don't (and probably can't :) insist on changing the logic, but we should probably update the LangRef either in the entry for alwaysinline or in the entry of "null-pointer-isvalid". Otherwise, current transformation, IMO, breaks our own LangRef. Or do I miss something in its wording?


Repository:
  rL LLVM

https://reviews.llvm.org/D47895





More information about the llvm-commits mailing list