aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorAlex Voicu <alexandru.voicu@amd.com>2024-09-28 16:45:32 +0100
committerGitHub <noreply@github.com>2024-09-28 16:45:32 +0100
commit5d734fa4c8f358299a4dfd2a7f9315a226b94a4a (patch)
tree92ec1144e314b9540a629b9eacdf3a07c4a2ff14 /clang/lib/Frontend/CompilerInvocation.cpp
parentd48777ece50c39df553ed779d0771bc9ef6747cf (diff)
downloadllvm-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