[PATCH] D142388: [clang] Add builtin_nondet

Erich Keane via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 24 06:58:44 PST 2023


erichkeane added inline comments.


================
Comment at: clang/test/CodeGen/builtins-nondet.c:3
+
+typedef float float4 __attribute__((ext_vector_type(4)));
+
----------------
ManuelJBrito wrote:
> shafik wrote:
> > erichkeane wrote:
> > > Add some examples for 'bool' and vector-bool as well to make sure this is doing what you want.
> > Does this also work for structs?
> > Does this also work for structs?
> 
> No, i don't think so. What would be expected IR?
can freeze/posion not be of struct types?  If they don't work, it should be an error to try.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D142388



More information about the cfe-commits mailing list