[llvm] [AArch64] Update tests for stack-probing (PR #102181)
Matthew Levy via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 8 05:52:51 PDT 2024
matthewlevy97 wrote:
I do not currently have a follow-up diff for changing how the test is auto-generated. I found that the compiler can output the generated code for stack probing in different orders leading to this test failing, yet producing effectively the same generated code.
I added the INVALID_TO_BREAK_UP_CHECK_DAG to ensure the order of the registers are intact as just CHECK-DAG can allow full reordering and cause the test to not verify register dependencies for code gen. The INVALID_TO_BREAK_UP_CHECK_DAG is just a CHECK-NOT that should never match anything to prevent all the CHECK-DAGs from being connected. If there is a better way to represent this so that it is correctly auto-generated I will happily change it.
https://github.com/llvm/llvm-project/pull/102181
More information about the llvm-commits
mailing list