[PATCH] D59795: [DAGCombine] Improve Lifetime node chains.

Clement Courbet via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 29 01:41:38 PDT 2019


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

Thanks, just one nit.



================
Comment at: llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp:15670
+SDValue DAGCombiner::visitLIFETIME_START(SDNode *N) {
+  if (SDValue V = ImproveLifetimeNodeChain(N))
+    return V;
----------------
This can be simplified to:

```
return ImproveLifetimeNodeChain(N);
```


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D59795





More information about the llvm-commits mailing list