This allows us to not have to specify -opaque-pointers when updating
IR tests from typed pointers to opaque pointers.
We detect opaque pointers in .ll files by looking for relevant tokens,
either "ptr" or "*".
Differential D119482
[OpaquePtr][LLParser] Automatically detect opaque pointers in .ll files aeubanks on Feb 10 2022, 2:11 PM. Authored by
Details
This allows us to not have to specify -opaque-pointers when updating We detect opaque pointers in .ll files by looking for relevant tokens,
Diff Detail
Event TimelineComment Actions I'm not really convinced by this. I think automatically going into opaque pointer mode if ptr is mentioned in .ll makes some sense, but I'm not a fan on determining the mode based on first constructed pointer. For bitcode, we can embed a marker for opaque pointer mode rather than guessing.
Comment Actions Those were already fixed at head with 3210647e5b687c49d363e271fe072c213cd9cc2d, 7678e8ebbbc90d227912638fb7f596febfe75bf6, and 9276fed284f6a8fdbb3f4f56eee03b256e8172e1 |
Why drop this? This is needed for per-frontend enablement, which we'll still need, right?