llvm-project/llvm
Matt Arsenault 8e682086a0 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.
2022-01-10 14:25:14 -05:00
..
benchmarks
bindings
cmake [cmake] Enable users to specify archive creation commands 2022-01-10 18:53:40 +00:00
docs [llvm-objcopy] Implement the PE-COFF specific --subsystem option 2022-01-10 14:44:15 +02:00
examples [llvm] Use `GNUInstallDirs` to support custom installation dirs 2022-01-08 00:47:31 +00:00
include GlobalISel: Pass DebugLoc to getFunctionLiveInPhysReg 2022-01-10 13:50:52 -05:00
lib AMDGPU/GlobalISel: Explicitly track d16 for image legalization 2022-01-10 14:25:14 -05:00
projects
resources
runtimes
test AMDGPU/GlobalISel: Explicitly track d16 for image legalization 2022-01-10 14:25:14 -05:00
tools Use a sorted array instead of a map to store AttrBuilder string attributes 2022-01-10 14:49:53 +01:00
unittests Use a sorted array instead of a map to store AttrBuilder string attributes 2022-01-10 14:49:53 +01:00
utils [gn build] Port c0fdc74887 2022-01-10 08:36:39 +00:00
.clang-format
.clang-tidy
.gitattributes
.gitignore
CMakeLists.txt [llvm] Use `GNUInstallDirs` to support custom installation dirs 2022-01-08 00:47:31 +00:00
CODE_OWNERS.TXT
CREDITS.TXT
LICENSE.TXT
README.txt
RELEASE_TESTERS.TXT
configure
llvm.spec.in

README.txt

The LLVM Compiler Infrastructure
================================

This directory and its subdirectories contain source code for LLVM,
a toolkit for the construction of highly optimized compilers,
optimizers, and runtime environments.

LLVM is open source software. You may freely distribute it under the terms of
the license agreement found in LICENSE.txt.

Please see the documentation provided in docs/ for further
assistance with LLVM, and in particular docs/GettingStarted.rst for getting
started with LLVM and docs/README.txt for an overview of LLVM's
documentation setup.

If you are writing a package for LLVM, see docs/Packaging.rst for our
suggestions.