[llvm] [LoongArch][GlobalISel] Adding initial GlobalISel infrastructure (PR #76912)
via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 5 05:15:11 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 7df28fd61aa4603846b3ce16f9f988ccc780a584 0e3cb2e67f7939eea3eb6730c15e623daccd08f8 -- llvm/lib/Target/LoongArch/LoongArchCallLowering.cpp llvm/lib/Target/LoongArch/LoongArchCallLowering.h llvm/lib/Target/LoongArch/LoongArchInstructionSelector.cpp llvm/lib/Target/LoongArch/LoongArchLegalizerInfo.cpp llvm/lib/Target/LoongArch/LoongArchLegalizerInfo.h llvm/lib/Target/LoongArch/LoongArchRegisterBankInfo.cpp llvm/lib/Target/LoongArch/LoongArchRegisterBankInfo.h llvm/lib/Target/LoongArch/LoongArch.h llvm/lib/Target/LoongArch/LoongArchSubtarget.cpp llvm/lib/Target/LoongArch/LoongArchSubtarget.h llvm/lib/Target/LoongArch/LoongArchTargetMachine.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/lib/Target/LoongArch/LoongArchCallLowering.cpp b/llvm/lib/Target/LoongArch/LoongArchCallLowering.cpp
index 7ec7fa09ed..4002ba46fe 100644
--- a/llvm/lib/Target/LoongArch/LoongArchCallLowering.cpp
+++ b/llvm/lib/Target/LoongArch/LoongArchCallLowering.cpp
@@ -31,7 +31,7 @@ bool LoongArchCallLowering::lowerReturn(MachineIRBuilder &MIRBuilder,
if (Val != nullptr)
return false;
-
+
MIRBuilder.insertInstr(Ret);
return true;
}
``````````
</details>
https://github.com/llvm/llvm-project/pull/76912
More information about the llvm-commits
mailing list