[PATCH] D123300: [Clang] Enable opaque pointers by default

Mikael Holmén via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 14 02:16:27 PDT 2022


uabelho added a comment.

In D123300#3451087 <https://reviews.llvm.org/D123300#3451087>, @nikic wrote:

> @uabelho The IR is correct, but requires using `opt -opaque-pointers` explicitly. Normally, opaque pointer mode is automatically enabled, but there is no explicit mention of `ptr` in the IR. Not sure if we can do anything to improve that before the default on the opt side is switched.

Oh, didn't realize this. Yes we'll need to start passing -opaque-pointers to opt (and llc I suppose) explicitly then.
Thanks!


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D123300



More information about the cfe-commits mailing list