[llvm] [LiveIntervals] Ignore artificial regs when adding kill flags (PR #116963)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 3 08:03:05 PST 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 3093b29b597b9a936a3e4d1c8bc4a7ccba8fc848 fd023ac802c57f0fadb4031bf09fab9b0601af71 --extensions h,cpp -- llvm/include/llvm/CodeGen/TargetRegisterInfo.h llvm/lib/CodeGen/LiveIntervals.cpp llvm/utils/TableGen/RegisterInfoEmitter.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/utils/TableGen/RegisterInfoEmitter.cpp b/llvm/utils/TableGen/RegisterInfoEmitter.cpp
index f855fe852c..7b9257fb61 100644
--- a/llvm/utils/TableGen/RegisterInfoEmitter.cpp
+++ b/llvm/utils/TableGen/RegisterInfoEmitter.cpp
@@ -679,9 +679,8 @@ static bool combine(const CodeGenSubRegIndex *Idx,
return true;
}
-void RegisterInfoEmitter::emitNumAllocatableSubRegs(raw_ostream &OS,
- StringRef ClassName,
- llvm::BitVector &InAllocClass) {
+void RegisterInfoEmitter::emitNumAllocatableSubRegs(
+ raw_ostream &OS, StringRef ClassName, llvm::BitVector &InAllocClass) {
OS << "unsigned " << ClassName
<< "::getNumAllocatableSubRegsImpl(MCPhysReg R) const {\n";
OS << " static unsigned numAllocatableSubRegsMap[] = { \n";
``````````
</details>
https://github.com/llvm/llvm-project/pull/116963
More information about the llvm-commits
mailing list