[PATCH] D140382: [CodeGen] Add user interface for DetectDeadLanes

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 9 12:19:55 PST 2023


craig.topper added inline comments.


================
Comment at: llvm/lib/CodeGen/DetectDeadLanes.cpp:497
 
+  computeSubRegisterLaneBitInfo();
+
----------------
Change the loop back to do while and just break in the middle like:

```
  do {
    computeSubRegisterLaneBitInfo();
    if (!NeedSetUndef)
      break;

    bool LocalChanged;
    std::tie(LocalChanged, Again) = runOnce(MF);
    Changed |= LocalChanged;
  } while(Again);
```


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D140382



More information about the llvm-commits mailing list