Add codegen for llvm bitreverse elementwise builtin
The bitreverse elementwise builtin is necessary for HLSL codegen.
Tests were added to make sure that the expected errors are encountered when these functions are given inputs of incompatible types, or too many inputs.
The new builtin is restricted to integer types only.
Details
Details
- Reviewers
arsenm fhahn - Commits
- rG57f879cdd4c6: clang: Add elementwise bitreverse builtin
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
- add float4 test
clang/docs/LanguageExtensions.rst | ||
---|---|---|
634 | Are you sure? |
Unrelated but I noticed a couple of the elementwise builtins are missing from this list if you're fixing up the docs for them. Can't remember which off the top of my head