Remap values in PromotedFloats
authorPirama Arumuga Nainar <pirama@google.com>
Tue, 27 Mar 2018 17:42:36 +0000 (17:42 +0000)
committerPirama Arumuga Nainar <pirama@google.com>
Tue, 27 Mar 2018 17:42:36 +0000 (17:42 +0000)
commitddd7b06842aa2ac577e1c7ab203c2c6dcea8fa8b
tree479863f7c166d93113895b2535a8f134011dd473
parent874eedd779d9e447708d88529ea0beb77863328a
Remap values in PromotedFloats

Summary: When a node is about to be erased from ReplacedValues, we should also remap its corresponding values in PromotedFloats.

Patch by Yan Luo (Yan.Luo2@synopsys.com)

Reviewers: pirama

Reviewed By: pirama

Subscribers: lebedev.ri, llvm-commits

Differential Revision: https://reviews.llvm.org/D44872

llvm-svn: 328644
llvm/lib/CodeGen/SelectionDAG/LegalizeTypes.cpp