[llvm] [RISCV][TTI] Properly model odd vector sized LD/ST operations (PR #100436)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 24 10:35:57 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 8fd9624cf729dd722a170a9dfd8f725966515231 95145f528c88a461d169412ef94cb84cae8dce7b --extensions cpp -- llvm/lib/Target/RISCV/RISCVTargetTransformInfo.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/lib/Target/RISCV/RISCVTargetTransformInfo.cpp b/llvm/lib/Target/RISCV/RISCVTargetTransformInfo.cpp
index c110a398bd..251a335c93 100644
--- a/llvm/lib/Target/RISCV/RISCVTargetTransformInfo.cpp
+++ b/llvm/lib/Target/RISCV/RISCVTargetTransformInfo.cpp
@@ -1412,7 +1412,6 @@ InstructionCost RISCVTTIImpl::getMemoryOpCost(unsigned Opcode, Type *Src,
}
return BaseT::getMemoryOpCost(Opcode, Src, Alignment, AddressSpace,
CostKind, OpInfo, I);
-
}();
// Assume memory ops cost scale with the number of vector registers
``````````
</details>
https://github.com/llvm/llvm-project/pull/100436
More information about the llvm-commits
mailing list