aboutsummaryrefslogtreecommitdiff
path: root/libcxx/include/__algorithm/includes.h
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2022-01-09 12:32:15 -0500
committerMatt Arsenault <Matthew.Arsenault@amd.com>2022-01-10 14:25:14 -0500
commit8e682086a067b6cca3034ec5b64ead4b49294685 (patch)
treedf11a2c535070b67bb60e0c17eb46e2a9cf894bd /libcxx/include/__algorithm/includes.h
parent2d3ae6f4844bb5b61936d957e9328490f18ecd41 (diff)
downloadllvm-8e682086a067b6cca3034ec5b64ead4b49294685.zip
llvm-8e682086a067b6cca3034ec5b64ead4b49294685.tar.gz
llvm-8e682086a067b6cca3034ec5b64ead4b49294685.tar.bz2
AMDGPU/GlobalISel: Explicitly track d16 for image legalization
We were trying to guess at the original IR type for image intrinsics after legalization to figure out if they were d16, but this didn't work. Explicitly track if this is a d16 operation or not in the opcode, as is done for the buffer intrinsics. The OpenCL library is using f32 image writes with a dmask of 15 for some reason, and this was incorrectly switching them to use d16. Fixes image failures in the OpenCL conformance test. The equivalent dmask for loads doesn't even select in either selector.
Diffstat (limited to 'libcxx/include/__algorithm/includes.h')
0 files changed, 0 insertions, 0 deletions