[PATCH] D40165: DAG: Legalize truncstores to illegal int types

Justin Bogner via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 27 17:39:17 PST 2017


bogner accepted this revision.
bogner added a comment.
This revision is now accepted and ready to land.

Looks good once the bug/redundancy is fixed.



================
Comment at: lib/CodeGen/SelectionDAG/LegalizeDAG.cpp:634
+                              Alignment, MMOFlags, AAInfo);
+        ReplaceNode(SDValue(Node, 0), Result);
+      } else {
----------------
We ReplaceNode twice in this path now?


https://reviews.llvm.org/D40165





More information about the llvm-commits mailing list