[PATCH] D126689: [IR] Enable opaque pointers by default

Nikita Popov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 17 02:00:42 PDT 2023


nikic added a comment.

@uabelho The call is well-defined from an LLVM IR perspective, so the verifier cannot reject it, just as it can't reject calling convention or ABI attribute mismatch. In this specific case, the call is likely undefined behavior, but that is not generally the case just because there is a signature mismatch. When exactly this is UB is still something of an open question (and I believe currently effectively boils down to "does the signature match after lowering or not").


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D126689



More information about the cfe-commits mailing list