[llvm] [SandboxIR] Added new StoreInst::create() functions with isVolatile arg (PR #100961)
via llvm-commits
llvm-commits at lists.llvm.org
Sun Jul 28 19:38:30 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 ea7cc12f612ef5c5f70082ebfdee378d80ec44bd 3a9606103dbebed35d04abbf737167b6d6535c82 --extensions cpp,h -- llvm/include/llvm/SandboxIR/SandboxIR.h llvm/lib/SandboxIR/SandboxIR.cpp llvm/unittests/SandboxIR/SandboxIRTest.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 0028f57b77..324759acd5 100644
--- a/llvm/include/llvm/SandboxIR/SandboxIR.h
+++ b/llvm/include/llvm/SandboxIR/SandboxIR.h
@@ -804,7 +804,7 @@ class StoreInst final : public Instruction {
}
public:
- /// Return true if this is a load from a volatile memory location.
+ /// Return true if this is a load from a volatile memory location.
bool isVolatile() const { return cast<llvm::LoadInst>(Val)->isVolatile(); }
unsigned getUseOperandNo(const Use &Use) const final {
``````````
</details>
https://github.com/llvm/llvm-project/pull/100961
More information about the llvm-commits
mailing list