[PATCH] D136737: [Draft] [clang] Add builtin_unspecified_value

Erich Keane via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 26 09:47:05 PDT 2022


erichkeane added a comment.

It doesn't really  make sense to me why this is an AST node expr-node-type rather than just being a call to a builtin (that'll likely  need to take a var as a parameter)?  We can make that builtin result in a freeze/poison value if necessary.

So something like:
`_si128 x = __builtin_magic_unspecified(x);`


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D136737



More information about the cfe-commits mailing list