[llvm] [SandboxVec] Tag insts in a Region with metadata. (PR #109353)

via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 20 14:29:19 PDT 2024


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 2011cbcd84102236dd6d58e2079ac676a3403f25 a0af2cb83eb56fc29f3e310f4d190724848a37a6 --extensions cpp,h -- llvm/include/llvm/SandboxIR/SandboxIR.h llvm/include/llvm/Transforms/Vectorize/SandboxVectorizer/Region.h llvm/lib/Transforms/Vectorize/SandboxVectorizer/Region.cpp llvm/unittests/Transforms/Vectorize/SandboxVectorizer/RegionTest.cpp
``````````

</details>

<details>
<summary>
View the diff from clang-format here.
</summary>

``````````diff
diff --git a/llvm/include/llvm/SandboxIR/SandboxIR.h b/llvm/include/llvm/SandboxIR/SandboxIR.h
index 3af1af5e77..6a1e253678 100644
--- a/llvm/include/llvm/SandboxIR/SandboxIR.h
+++ b/llvm/include/llvm/SandboxIR/SandboxIR.h
@@ -4401,8 +4401,8 @@ protected:
   friend class IntegerType;   // For LLVMCtx.
   friend class StructType;    // For LLVMCtx.
   friend class ::llvm::TargetExtType; // For LLVMCtx.
-  friend class Region;        // For LLVMCtx.
-  
+  friend class Region;                // For LLVMCtx.
+
   Tracker IRTracker;
 
   /// Maps LLVM Value to the corresponding sandboxir::Value. Owns all

``````````

</details>


https://github.com/llvm/llvm-project/pull/109353


More information about the llvm-commits mailing list