[llvm] [MIPS] Fix miscompiles consecutive half operations (PR #110199)
via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 27 00:22:24 PDT 2024
================
@@ -390,8 +392,8 @@ class TargetRegisterClass;
DAG.getLoad(Ty, DL, DAG.getEntryNode(), GOT,
MachinePointerInfo::getGOT(DAG.getMachineFunction()));
unsigned LoFlag = IsN32OrN64 ? MipsII::MO_GOT_OFST : MipsII::MO_ABS_LO;
- SDValue Lo = DAG.getNode(MipsISD::Lo, DL, Ty,
- getTargetNode(N, Ty, DAG, LoFlag));
+ SDValue Lo =
+ DAG.getNode(MipsISD::Lo, DL, Ty, getTargetNode(N, Ty, DAG, LoFlag));
----------------
yingopq wrote:
I had used the `git clang-format ` tool before submitting this PR, and it automatically modified the irrelevant code format, so I submitted it together.
https://github.com/llvm/llvm-project/pull/110199
More information about the llvm-commits
mailing list