efriedma added a comment.

> Keeping loads and stores of pointers as pointers to the extent possible 
> doesn't seem like a bad idea, but I'm worried people will feel like this 
> gives a *semantic* guarantee that isn't really there. Fundamentally, LLVM 
> still doesn't currently have typed memory. All of the optimizer is built upon 
> this assumption.

LLVM currently isn't internally consistent.  See 
https://bugs.llvm.org/show_bug.cgi?id=34548 .  I should probably make a LangRef 
patch so the "pointer aliasing" section indicates there's an issue here.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D88789

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to