================ @@ -46,13 +40,5 @@ body: | ... ---- -name: __llvm_slsblr_thunk_x8 -tracksRegLiveness: true -body: | - bb.0.entry: - liveins: $x8 - BR $x8 ---------------- atrosinenko wrote:
The above lines are **input** to `llc`, so I removed them to not conflict with the thunks that are inserted by the pass. Unfortunately, MIR syntax is quite verbose, so I added a few basic CHECK lines testing MIR output and duplicated the RUN lines to generate and check assembly output as well. Now there is no separation between function-rewriting and thunk-inserting passes, and I assumed it is safe to expect that initially there are no thunks in the module. I guess the original version of thunk insertion logic would assert on pre-existing thunks as well (due to unknown thunk names with `.1` suffix). https://github.com/llvm/llvm-project/pull/97472 _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits