diff options
author | Joshua Batista <jbatista@microsoft.com> | 2023-07-31 10:15:58 -0700 |
---|---|---|
committer | Joshua Batista <jbatista@microsoft.com> | 2023-07-31 10:59:13 -0700 |
commit | 57f879cdd4c63189c569bdc1ce4e87e7342eea46 (patch) | |
tree | 368f2ec7bf971044203cddc6563692a0dc0bf47d /llvm/lib/CodeGen/SafeStackLayout.cpp | |
parent | b402487b7445a799c3ed03109d291198fd529d3a (diff) | |
download | llvm-57f879cdd4c63189c569bdc1ce4e87e7342eea46.zip llvm-57f879cdd4c63189c569bdc1ce4e87e7342eea46.tar.gz llvm-57f879cdd4c63189c569bdc1ce4e87e7342eea46.tar.bz2 |
clang: Add elementwise bitreverse builtin
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.
Reviewed By: arsenm
Differential Revision: https://reviews.llvm.org/D156357
Diffstat (limited to 'llvm/lib/CodeGen/SafeStackLayout.cpp')
0 files changed, 0 insertions, 0 deletions