diff options
author | Petar Avramovic <Petar.Avramovic@amd.com> | 2024-10-11 11:40:27 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-11 11:40:27 +0200 |
commit | 7b0d56be1d002e9cf0d8dda8ecaee99c5dbc88cf (patch) | |
tree | 787f0cb2eda98c9d0c5e8b8afb1f02d5f331fbb4 /llvm/lib/Transforms/Utils/InlineFunction.cpp | |
parent | 42ec740d0347a89b656c9be5ac4a7e4d8bcd30d5 (diff) | |
download | llvm-7b0d56be1d002e9cf0d8dda8ecaee99c5dbc88cf.zip llvm-7b0d56be1d002e9cf0d8dda8ecaee99c5dbc88cf.tar.gz llvm-7b0d56be1d002e9cf0d8dda8ecaee99c5dbc88cf.tar.bz2 |
AMDGPU/GlobalISel: Fix inst-selection of ballot (#109986)
Both input and output of ballot are lane-masks:
result is lane-mask with 'S32/S64 LLT and SGPR bank'
input is lane-mask with 'S1 LLT and VCC reg bank'.
Ballot copies bits from input lane-mask for
all active lanes and puts 0 for inactive lanes.
GlobalISel did not set 0 in result for inactive lanes
for non-constant input.
Diffstat (limited to 'llvm/lib/Transforms/Utils/InlineFunction.cpp')
0 files changed, 0 insertions, 0 deletions