diff options
author | Chris B <chris.bieneman@me.com> | 2024-08-26 12:31:45 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-26 12:31:45 -0500 |
commit | 4bab0387e9be3683a36b5ab0412b25fbab632aa5 (patch) | |
tree | d1bbb03eefc57cb49448385ffaa244f4e06447b3 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | ec4d5a6658782b4a88c634d5b332c56b754c5949 (diff) | |
download | llvm-4bab0387e9be3683a36b5ab0412b25fbab632aa5.zip llvm-4bab0387e9be3683a36b5ab0412b25fbab632aa5.tar.gz llvm-4bab0387e9be3683a36b5ab0412b25fbab632aa5.tar.bz2 |
[HLSL] Add __builtin_hlsl_is_scalarized_layout_compatible (#102227)
HLSL tends to rely pretty aggressively on scalarization occuring in the
complier, which allows for some relaxed language behaviors when types
are fully sclarized to equivalent scalar representations.
This change adds a new queryable trait builtin for scalarized layout
compatability.
Resolves #100614
---------
Co-authored-by: Aaron Ballman <aaron@aaronballman.com>
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions