[PATCH] D32004: [mips] Rework a portion of MipsCC interface. (NFC)

Simon Dardis via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 13 03:43:06 PDT 2017


sdardis created this revision.
Herald added a subscriber: arichardson.

r299766 contained a "conditional move or jump depends on uninitialized value"
fault, identified by valgrind. This occurred as MipsFastISel::finishCall(..)
used CCState over MipsCCState. The latter is required for the TableGen'd calling
convention logic due to reliance on pre-analyzing type information to lower call
results/returns of vectors correctly.

This change modifies the MipsCC AnalyzeCallResult to be useful with both the
SelectionDAG and FastISel lowering logic.


Repository:
  rL LLVM

https://reviews.llvm.org/D32004

Files:
  lib/Target/Mips/MipsCCState.cpp
  lib/Target/Mips/MipsCCState.h
  lib/Target/Mips/MipsFastISel.cpp
  lib/Target/Mips/MipsISelLowering.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D32004.95096.patch
Type: text/x-patch
Size: 6332 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170413/ed4d53e6/attachment.bin>


More information about the llvm-commits mailing list