[PATCH] D146122: [pragma] Add support for #pragma clang loop prefetch(disable)
Jiang Haibo via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 15 03:13:42 PDT 2023
Flightor created this revision.
Flightor added reviewers: aaron.ballman, jdoerfert, amusman, Meinersbur, SjoerdMeijer.
Flightor added projects: clang, LLVM.
Herald added subscribers: zzheng, hiraditya, kristof.beyls.
Herald added a project: All.
Flightor requested review of this revision.
Herald added subscribers: llvm-commits, pcwang-thead.
Pass LoopDataPrefetch is enabled by default under the Aarch64 architecture,
but this pass cannot always achieve perfect loop data prefetching. In order
to make it easier for developers to do performance debugging, a new pragma
is added so that developers can prohibit a certain loop perform automatic
data prefetch optimization.
https://reviews.llvm.org/D146122
Files:
clang/docs/LanguageExtensions.rst
clang/include/clang/Basic/Attr.td
clang/include/clang/Basic/DiagnosticParseKinds.td
clang/lib/CodeGen/CGLoopInfo.cpp
clang/lib/CodeGen/CGLoopInfo.h
clang/lib/Parse/ParsePragma.cpp
clang/lib/Sema/SemaStmtAttr.cpp
clang/test/CodeGenCXX/pragma-loop-prefetch.cpp
clang/test/CodeGenCXX/pragma-loop.cpp
clang/test/Parser/pragma-loop.cpp
clang/test/Parser/pragma-unroll-and-jam.cpp
llvm/docs/LangRef.rst
llvm/docs/TransformMetadata.rst
llvm/lib/Transforms/Scalar/LoopDataPrefetch.cpp
llvm/test/Transforms/LoopDataPrefetch/pragma-prefetch.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D146122.505423.patch
Type: text/x-patch
Size: 28759 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230315/2b6249f6/attachment.bin>
More information about the llvm-commits
mailing list