[PATCH] D125303: [update_llc_test_checks] Handle mixed asm and ISel debug output

Yatao Wang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 11 10:08:07 PDT 2022


ningxinr added a comment.

Thank you so much for the improvements, Alexander! It would be nice to support isel and asm at the same time. Although I do have a few questions and one concern with regard to an ongoing change of mine.

> I noticed a potentially uninitialized variable warning after D119368 <https://reviews.llvm.org/D119368>.

Would you mind pointing me to that warning? Is it complaining about `output_type`? And after your change the warning is gone? That does sound quite false positive-ish...

> I have deleted the add_checks() function from isel.py as it is identical to the one in asm.py

Please don't delete that `add_checks()` function yet. It is only identical to the one in `asm.py` because we are still working on it... I have a review D122824 <https://reviews.llvm.org/D122824> in progress (Sorry this one took a bit too long for me to get back to it, but I do plan to get back to it in the next few days.)

> restored the old name (which fixes the formatting too)

Did the warning complained about the naming as well? I am quite confused here. Is it the fact that this line was using `output_type` that caused the warning or the function name `add_checks()` has cause the warning? What is the motivation for changing back the name here? Is it because the `add_checks()` in `isel.py` is removed so we prefer the old name?

Thanks for the improvement of the feature and thanks  in advance for your patience with all my questions. :)


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D125303



More information about the llvm-commits mailing list