[PATCH] D44872: Remap values in PromotedFloats
Pirama Arumuga Nainar via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 27 10:47:27 PDT 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rL328644: Remap values in PromotedFloats (authored by pirama, committed by ).
Changed prior to commit:
https://reviews.llvm.org/D44872?vs=139875&id=139958#toc
Repository:
rL LLVM
https://reviews.llvm.org/D44872
Files:
llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeTypes.cpp
Index: llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeTypes.cpp
===================================================================
--- llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeTypes.cpp
+++ llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeTypes.cpp
@@ -598,6 +598,12 @@
RemapValue(I->second);
}
+ for (DenseMap<SDValue, SDValue>::iterator I = PromotedFloats.begin(),
+ E = PromotedFloats.end(); I != E; ++I) {
+ assert(I->first.getNode() != N);
+ RemapValue(I->second);
+ }
+
for (DenseMap<SDValue, SDValue>::iterator I = SoftenedFloats.begin(),
E = SoftenedFloats.end(); I != E; ++I) {
assert(I->first.getNode() != N);
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D44872.139958.patch
Type: text/x-patch
Size: 656 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180327/d66785d5/attachment.bin>
More information about the llvm-commits
mailing list