[Openmp-commits] [llvm] [openmp] Save jit image (PR #212384)
via Openmp-commits
openmp-commits at lists.llvm.org
Mon Jul 27 18:04:51 PDT 2026
github-actions[bot] wrote:
<!--LLVM CODE FORMAT COMMENT: {clang-format}-->
:warning: C/C++ code formatter, clang-format found issues in your code. :warning:
<details>
<summary>
You can test this locally with the following command:
</summary>
``````````bash
git-clang-format --diff origin/main HEAD --extensions cpp -- offload/test/tools/omp-kernel-replay/record-replay-save-jit-image.cpp offload/plugins-nextgen/common/src/PluginInterface.cpp offload/tools/kernelreplay/llvm-omp-kernel-replay.cpp --diff_from_common_commit
``````````
:warning:
The reproduction instructions above might return results for more than one PR
in a stack if you are using a stacked PR workflow. You can limit the results by
changing `origin/main` to the base branch/commit you want to compare against.
:warning:
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/offload/tools/kernelreplay/llvm-omp-kernel-replay.cpp b/offload/tools/kernelreplay/llvm-omp-kernel-replay.cpp
index b2d2c07f6..a63ad707c 100644
--- a/offload/tools/kernelreplay/llvm-omp-kernel-replay.cpp
+++ b/offload/tools/kernelreplay/llvm-omp-kernel-replay.cpp
@@ -74,10 +74,10 @@ static cl::opt<bool>
cl::init(false), cl::cat(ReplayOptions));
static cl::opt<bool>
- SaveJITImageOpt("save-jit-image",
- cl::desc("Save the JIT-compiled image next to the bitcode "
- "image file."),
- cl::init(false), cl::cat(ReplayOptions));
+ SaveJITImageOpt("save-jit-image",
+ cl::desc("Save the JIT-compiled image next to the bitcode "
+ "image file."),
+ cl::init(false), cl::cat(ReplayOptions));
template <typename... ArgsTy>
Error createErr(const char *ErrFmt, ArgsTy &&...Args) {
``````````
</details>
https://github.com/llvm/llvm-project/pull/212384
More information about the Openmp-commits
mailing list