[llvm] [MIPS] Fix miscompiles consecutive half operations (PR #110199)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 27 00:15:33 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));
----------------
nikic wrote:

Unrelated reformat? Please use git-clang-format to format PRs, it should leave unrelated lines alone.

https://github.com/llvm/llvm-project/pull/110199


More information about the llvm-commits mailing list