[clang] [lld] [llvm] [WebAssembly] Define a new "Trail1" CPU (PR #112035)
via cfe-commits
cfe-commits at lists.llvm.org
Sat Oct 12 09:59:09 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 14705a912f6296700cef4d2aa7eb100f71dfbd0a 24e58550483c0569e48f9b1e11edaee5acb1ac1e --extensions cpp,h -- clang/lib/Basic/Targets/WebAssembly.cpp clang/lib/Basic/Targets/WebAssembly.h lld/wasm/InputFiles.cpp lld/wasm/SyntheticSections.cpp llvm/lib/Target/WebAssembly/AsmParser/WebAssemblyAsmParser.cpp llvm/lib/Target/WebAssembly/WebAssemblyFastISel.cpp llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp llvm/lib/Target/WebAssembly/WebAssemblySelectionDAGInfo.cpp llvm/lib/Target/WebAssembly/WebAssemblySubtarget.h llvm/lib/Target/WebAssembly/WebAssemblyUtilities.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/lib/Target/WebAssembly/WebAssemblySubtarget.h b/llvm/lib/Target/WebAssembly/WebAssemblySubtarget.h
index 8e623d694d..f6cc975960 100644
--- a/llvm/lib/Target/WebAssembly/WebAssemblySubtarget.h
+++ b/llvm/lib/Target/WebAssembly/WebAssemblySubtarget.h
@@ -105,7 +105,9 @@ public:
bool hasMutableGlobals() const { return HasMutableGlobals; }
bool hasNontrappingFPToInt() const { return HasNontrappingFPToInt; }
bool hasReferenceTypes() const { return HasReferenceTypes; }
- bool hasCallIndirectOverlong() const { return HasCallIndirectOverlong || HasReferenceTypes; }
+ bool hasCallIndirectOverlong() const {
+ return HasCallIndirectOverlong || HasReferenceTypes;
+ }
bool hasRelaxedSIMD() const { return SIMDLevel >= RelaxedSIMD; }
bool hasSignExt() const { return HasSignExt; }
bool hasSIMD128() const { return SIMDLevel >= SIMD128; }
``````````
</details>
https://github.com/llvm/llvm-project/pull/112035
More information about the cfe-commits
mailing list