aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Basic/FileManager.cpp
diff options
context:
space:
mode:
authorNicolai Hähnle <nicolai.haehnle@amd.com>2022-04-08 10:52:13 -0500
committerNicolai Hähnle <nicolai.haehnle@amd.com>2022-04-11 14:04:21 -0500
commit4df4922da6cd9d4f58aa17bd3a54435d947570fd (patch)
treeada7534d398e10a1cd36fde62f2463a49be1d653 /clang/lib/Basic/FileManager.cpp
parent15a65594c1c0321671a827582fd66a22e0dbdc6e (diff)
downloadllvm-4df4922da6cd9d4f58aa17bd3a54435d947570fd.zip
llvm-4df4922da6cd9d4f58aa17bd3a54435d947570fd.tar.gz
llvm-4df4922da6cd9d4f58aa17bd3a54435d947570fd.tar.bz2
AMDGPU/SDAG: Custom SETCC (i.e. ballot) is always uniform
The AMDGPUISD::SETCC node is like ISD::SETCC, but returns a lane mask instead of a per-lane boolean. The lane mask is uniform. This improves instruction selection for code patterns like ctpop(ballot(x)), which can now use an S_BCNT1_* instruction instead of V_BCNT_*. GlobalISel already selects scalar instructions (an earlier commit added a test case).. Differential Revision: https://reviews.llvm.org/D123432
Diffstat (limited to 'clang/lib/Basic/FileManager.cpp')
0 files changed, 0 insertions, 0 deletions