llvm-project/llvm
Mark Searles ec58183e1b [AMDGPU] Waitcnt pass: add debug options
- Add "amdgpu-waitcnt-forcezero" to force all waitcnt instrs to be emitted as s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0)

- Add debug counters to control force emit of s_waitcnt instrs; debug counters:
si-insert-waitcnts-forceexp: force emit s_waitcnt expcnt(0) instrs
si-insert-waitcnts-forcevm: force emit s_waitcnt lgkmcnt(0) instrs
si-insert-waitcnts-forcelgkm: force emit s_waitcnt vmcnt(0) instrs

- Add some debug statements

Note that a variant of this patch was previously committed/reverted.

Differential Revision: https://reviews.llvm.org/D45888

llvm-svn: 330862
2018-04-25 19:21:26 +00:00
..
bindings [AggressiveInstCombine] Add aggressive inst combiner to the LLVM C API. 2018-04-24 00:39:29 +00:00
cmake Rename Attributes.gen, Intrinsics.gen to Attributes.inc, Intrinsics.inc 2018-04-25 17:07:46 +00:00
docs Revert r330755 "[lit] Report line number for failed RUN command" 2018-04-25 17:30:00 +00:00
examples Fix build breaks in examples due to moving stuff from Scalar.h to InstCombine.h 2018-04-24 00:58:57 +00:00
include [SimplifyLibcalls] Atoi, strtol replacements 2018-04-25 18:58:53 +00:00
lib [AMDGPU] Waitcnt pass: add debug options 2018-04-25 19:21:26 +00:00
projects
resources
runtimes [CMake][runtimes] Process common options in runtimes build 2018-04-11 05:18:03 +00:00
test [AMDGPU] Waitcnt pass: add debug options 2018-04-25 19:21:26 +00:00
tools IWYU llvm-config.h for LLVM_VERSION_STRING 2018-04-25 18:34:00 +00:00
unittests Avoid a warning on pointer casting, NFC 2018-04-25 12:15:34 +00:00
utils Revert r330755 "[lit] Report line number for failed RUN command" 2018-04-25 17:30:00 +00:00
.arcconfig
.clang-format
.clang-tidy
.gitattributes
.gitignore
CMakeLists.txt Remove LLVM_INSTALL_CCTOOLS_SYMLINKS 2018-04-24 15:41:02 +00:00
CODE_OWNERS.TXT [CODE_OWNERS] Update my email address. 2018-04-23 19:09:49 +00:00
CREDITS.TXT
LICENSE.TXT
LLVMBuild.txt
README.txt
RELEASE_TESTERS.TXT
configure
llvm.spec.in

README.txt

Low Level Virtual Machine (LLVM)
================================

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.