[clang] [HLSL] Add "or" intrinsic (PR #128979)
Ashley Coleman via cfe-commits
cfe-commits at lists.llvm.org
Thu Feb 27 14:28:14 PST 2025
================
@@ -290,6 +290,28 @@ _HLSL_BUILTIN_ALIAS(__builtin_hlsl_and)
bool4 and(bool4 x, bool4 y);
// clang-format on
+//===----------------------------------------------------------------------===//
+// or builtins
+//===----------------------------------------------------------------------===//
+
+/// \fn bool or(bool x, bbol y)
----------------
V-FEXrt wrote:
```suggestion
/// \fn bool or(bool x, bool y)
```
https://github.com/llvm/llvm-project/pull/128979
More information about the cfe-commits
mailing list