[PATCH] D110848: [TwoAddressInstruction] Fix ReplacedAllUntiedUses in processTiedPairs

Matthias Braun via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 4 10:15:49 PDT 2021


MatzeB added a comment.

Have you considered .mir tests instead of .ll tests? They should be more robust as they allow you to test a single pass independently of anything happening before/afterwards. See D36224 <https://reviews.llvm.org/D36224> or `test/CodeGen/PowerPC/two-address-crash.mir` for examples. There is also `llvm/utils/update_mir_test_checks.py` to autogenerate the `CHECK` lines.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D110848



More information about the llvm-commits mailing list