diff options
author | Mark Searles <m.c.searles@gmail.com> | 2017-12-07 20:34:25 +0000 |
---|---|---|
committer | Mark Searles <m.c.searles@gmail.com> | 2017-12-07 20:34:25 +0000 |
commit | d29f24acfb31950bc1f01a7d6f42a77969e91a67 (patch) | |
tree | 714fcfe2a1a428713fd9d112f204daf242d726f6 /clang/lib/Frontend/InitPreprocessor.cpp | |
parent | 145c54721b6e91a4fcf0d352d7e396cce3939cb1 (diff) | |
download | llvm-d29f24acfb31950bc1f01a7d6f42a77969e91a67.zip llvm-d29f24acfb31950bc1f01a7d6f42a77969e91a67.tar.gz llvm-d29f24acfb31950bc1f01a7d6f42a77969e91a67.tar.bz2 |
[AMDGPU] Add GCNHazardRecognizer::checkInlineAsmHazards() and GCNHazardRecognizer::checkVALUHazardsHelper(). checkInlineAsmHazards() checks INLINEASM for hazards that we particularly care about (so not exhaustive); this patch adds a check for INLINEASM that defs vregs that hold data-to-be stored by immediately preceding store of more than 8 bytes. If the instr were not within an INLINEASM, this scenario would be handled by checkVALUHazard(). Add checkVALUHazardsHelper(), which will be called by both checkVALUHazards() and checkInlineAsmHazards().
Differential Revision: https://reviews.llvm.org/D40098
llvm-svn: 320083
Diffstat (limited to 'clang/lib/Frontend/InitPreprocessor.cpp')
0 files changed, 0 insertions, 0 deletions