diff options
author | Alex MacLean <amaclean@nvidia.com> | 2024-10-22 16:39:44 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-22 16:39:44 -0700 |
commit | 4c1b1f6d219d66feb4795fdbe80e8b380b53eade (patch) | |
tree | 6b8d5ee80d107e1b9070fd76bfb292ee20834c97 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 9b984554d769f1f81adb654345aa9ef37d5e5b44 (diff) | |
download | llvm-4c1b1f6d219d66feb4795fdbe80e8b380b53eade.zip llvm-4c1b1f6d219d66feb4795fdbe80e8b380b53eade.tar.gz llvm-4c1b1f6d219d66feb4795fdbe80e8b380b53eade.tar.bz2 |
[NVPTX] Add support for clamped funnel shift intrinsics (#113228)
Add support for ``llvm.nvvm.fshl.clamp`` and ``llvm.nvvm.fshr.clamp``
intrinsics. These intrinsics are similar to the generic llvm funnel
shift, except that the shift value is clamped to the integer width.
Currently only ``i32`` is supported and is implemented with the
`shf.[rl].clamp.b32` PTX instruction.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions