[PATCH] D78491: Avoid relying on address space zero default parameter in llvm/IR

Carl Peto via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 3 06:02:55 PST 2022


carlos4242 added a comment.
Herald added a subscriber: dexonsmith.

Can I just add a +1 on something like this. My swift compiler build just broke at runtime because of this.

Would it be possible to change the default so it reads the address space from the target data layout so it's all automatic in most cases? I know there's a bit of complexity because you have to work out whether to read the data or function address space, is that visible?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D78491



More information about the llvm-commits mailing list