diff options
author | Alex Voicu <alexandru.voicu@amd.com> | 2024-09-28 16:45:32 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-28 16:45:32 +0100 |
commit | 5d734fa4c8f358299a4dfd2a7f9315a226b94a4a (patch) | |
tree | 92ec1144e314b9540a629b9eacdf3a07c4a2ff14 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | d48777ece50c39df553ed779d0771bc9ef6747cf (diff) | |
download | llvm-5d734fa4c8f358299a4dfd2a7f9315a226b94a4a.zip llvm-5d734fa4c8f358299a4dfd2a7f9315a226b94a4a.tar.gz llvm-5d734fa4c8f358299a4dfd2a7f9315a226b94a4a.tar.bz2 |
[llvm][SPIRV] Expose fast `popcnt` support for SPIR-V targets (#109845)
This adds the TTI predicate for conveying the availability of fast
`popcnt`, which subsequently allows passes like `LoopIdiomRecognize` to
collapse known popcount patterns. Since SPIR-V natively exposes
`OpBitcount`, it seems preferable to compress the resulting code, and
retain the information, even if a concrete target might have to expand
back into a loop structure.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions