[llvm-branch-commits] [CodeGen] Rename MVT::iPTRAny to MVT::pAny (PR #113733)
via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Fri Oct 25 12:45:04 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 3b927fa6d74e47c6e767d44b4b109ecce86f8453 24923b7f429db6387ad077cb592de78289a4b5cd --extensions h,cpp -- llvm/include/llvm/CodeGen/ValueTypes.h llvm/include/llvm/CodeGenTypes/MachineValueType.h llvm/include/llvm/IR/Intrinsics.h llvm/utils/TableGen/Common/CodeGenDAGPatterns.cpp mlir/tools/mlir-tblgen/LLVMIRIntrinsicGen.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/include/llvm/CodeGen/ValueTypes.h b/llvm/include/llvm/CodeGen/ValueTypes.h
index a6301f0b61..4de1097392 100644
--- a/llvm/include/llvm/CodeGen/ValueTypes.h
+++ b/llvm/include/llvm/CodeGen/ValueTypes.h
@@ -230,7 +230,8 @@ namespace llvm {
/// Return true if this is an overloaded type for TableGen.
bool isOverloaded() const {
- return (V==MVT::iAny || V==MVT::fAny || V==MVT::vAny || V==MVT::pAny);
+ return (V == MVT::iAny || V == MVT::fAny || V == MVT::vAny ||
+ V == MVT::pAny);
}
/// Return true if the bit size is a multiple of 8.
``````````
</details>
https://github.com/llvm/llvm-project/pull/113733
More information about the llvm-branch-commits
mailing list