llvm-project/llvm/test
Sameer Sahasrabuddhe d8f99bb6e0 [AMDGPU] replace hostcall module flag with function attribute
The module flag to indicate use of hostcall is insufficient to catch
all cases where hostcall might be in use by a kernel. This is now
replaced by a function attribute that gets propagated to top-level
kernel functions via their respective call-graph.

If the attribute "amdgpu-no-hostcall-ptr" is absent on a kernel, the
default behaviour is to emit kernel metadata indicating that the
kernel uses the hostcall buffer pointer passed as an implicit
argument.

The attribute may be placed explicitly by the user, or inferred by the
AMDGPU attributor by examining the call-graph. The attribute is
inferred only if the function is not being sanitized, and the
implictarg_ptr does not result in a load of any byte in the hostcall
pointer argument.

Reviewed By: jdoerfert, arsenm, kpyzhov

Differential Revision: https://reviews.llvm.org/D119216
2022-02-11 22:51:56 +05:30
..
Analysis [NFC][SCEV] Autogenerate checklines in a test to simplify further updates 2022-02-11 01:21:45 +03:00
Assembler [LLParser][OpaquePtr] Support forward reference to unnamed function 2022-02-10 12:20:34 +01:00
Bindings Disable Go binding test on AIX 2022-01-25 12:39:01 -05:00
Bitcode [Bitcode] Add partial support for opaque pointer auto-upgrade 2022-02-11 09:32:46 +01:00
BugPoint
CodeGen [AMDGPU] replace hostcall module flag with function attribute 2022-02-11 22:51:56 +05:30
DebugInfo [CodeView] Avoid integer overflow while parsing long version strings 2022-02-10 13:52:11 -08:00
Demangle
Examples
ExecutionEngine [JITLink] Fix the incorrect relocation behavior for R_RISCV_BRANCH 2022-02-07 14:34:19 +08:00
Feature
FileCheck
Instrumentation Reland "[clang-cl] Support the /JMC flag" 2022-02-10 15:16:17 -08:00
Integer
JitListener
LTO [test] Fix no-undef-type-md.ll. 2022-01-24 12:01:25 -08:00
Linker [AIX] Bump DWARF versions to 3 because XCOFF64 requires DWARF64 2022-02-01 11:18:19 -05:00
MC [CSKY] Add CSKYDisassembler.cpp to construct objdump 2022-02-08 16:02:59 +08:00
MachineVerifier
Object
ObjectYAML
Other [PassBuilder] Add OpenMPOpt to default LTO pipeline 2022-01-31 23:11:43 -05:00
SafepointIRVerifier [Statepoint] Update gc.statepoint calls in tests with elementtype (NFC) 2022-02-04 14:15:41 +01:00
Support
SymbolRewriter
TableGen
ThinLTO/X86
Transforms [ConstraintElimination] Add test for #48253. 2022-02-11 17:07:13 +00:00
Unit
Verifier [AMDGPU] Add a new intrinsic to control fp_trunc rounding mode 2022-02-11 12:08:23 -05:00
YAMLParser
tools [CSSPGO] Do not recount callee samples when computing profile summary for nested CS profile. 2022-02-11 09:05:51 -08:00
.clang-format
CMakeLists.txt Add a tool for diffing size remarks 2022-02-02 16:09:54 -08:00
TestRunner.sh
lit.cfg.py Add a tool for diffing size remarks 2022-02-02 16:09:54 -08:00
lit.site.cfg.py.in