[llvm] Revert "[Hexagon] Handle subreg copies between DoubleRegs and IntRegs… (PR #182861)
via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 23 07:01:10 PST 2026
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 origin/main HEAD --extensions cpp -- llvm/lib/Target/Hexagon/BitTracker.cpp llvm/lib/Target/Hexagon/HexagonGenMux.cpp llvm/lib/Target/Hexagon/HexagonInstrInfo.cpp llvm/lib/Target/Hexagon/HexagonTfrCleanup.cpp --diff_from_common_commit
``````````
:warning:
The reproduction instructions above might return results for more than one PR
in a stack if you are using a stacked PR workflow. You can limit the results by
changing `origin/main` to the base branch/commit you want to compare against.
:warning:
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/lib/Target/Hexagon/BitTracker.cpp b/llvm/lib/Target/Hexagon/BitTracker.cpp
index 80eedabb0..365d244e9 100644
--- a/llvm/lib/Target/Hexagon/BitTracker.cpp
+++ b/llvm/lib/Target/Hexagon/BitTracker.cpp
@@ -744,7 +744,7 @@ bool BT::MachineEvaluator::evaluate(const MachineInstr &MI,
assert(WD >= WS);
RegisterCell Src = getCell(RS, Inputs);
RegisterCell Res(WD);
- Res.insert(Src, BitMask(0, WS-1));
+ Res.insert(Src, BitMask(0, WS - 1));
Res.fill(WS, WD, BitValue::Zero);
putCell(RD, Res, Outputs);
break;
``````````
</details>
https://github.com/llvm/llvm-project/pull/182861
More information about the llvm-commits
mailing list