samitolvanen planned changes to this revision. samitolvanen added a comment.
In D108479#3150298 <https://reviews.llvm.org/D108479#3150298>, @rjmccall wrote: > Your builtin is using custom type-checking (`t`), which suppresses all the > normal conversions that happen on expressions. Specifically, it skips > lvalue-to-rvalue conversion, so in this example the argument ends up being an > l-value reference to a variable rather than an r-value loaded from that > variable. OK, that explains it. Thanks for the explanation! Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D108479/new/ https://reviews.llvm.org/D108479 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits