[PATCH] D116831: Initialize output parameter

Vitaly Buka via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 7 15:22:04 PST 2022


This revision was automatically updated to reflect the committed changes.
Closed by commit rG5c46c1c23abb: Initialize output parameter (authored by vitalybuka).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D116831/new/

https://reviews.llvm.org/D116831

Files:
  llvm/lib/Target/Hexagon/HexagonInstrInfo.cpp


Index: llvm/lib/Target/Hexagon/HexagonInstrInfo.cpp
===================================================================
--- llvm/lib/Target/Hexagon/HexagonInstrInfo.cpp
+++ llvm/lib/Target/Hexagon/HexagonInstrInfo.cpp
@@ -1893,6 +1893,7 @@
     case Hexagon::C4_cmplte:
     case Hexagon::C4_cmplteu:
       SrcReg2 = MI.getOperand(2).getReg();
+      Value = 0;
       return true;
 
     case Hexagon::C2_cmpeqi:


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D116831.398257.patch
Type: text/x-patch
Size: 415 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220107/6d1bc2f5/attachment.bin>


More information about the llvm-commits mailing list