These are the tests for the pass added in
https://reviews.llvm.org/D119720
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
I want to keep the number of llvm functions the same, as they cover a wide variety of control flow at a wide variety of data widths which the pass should cope with.
One thing that I would like to cut down is the duplicated set of CHECK lines, one with scheduling and one without, but I'm not sure how to do that (the set with scheduling are there to test that -mcpu=cortex-a55 enables the pass, I'm not sure of a better way of doing the same.
After a quick look, I can confirm that the ARM Backend seems to disregard tune-cpu metadata, the subtarget is initialized with TuneCPU equal to CPU, which makes this difficult. Still investigating whether --enable-misched=false will be enough.
I spent some time last night trying to work out if a combination of --enable-misched=false --pre-RA-sched=linearize -disable-post-ra -enable-post-misched=false would help avoid having two sets of match lines, and none seemed to. @MaskRay as I can't find a quick way of making it smaller, and the patch these tests are for has been approved, I'm going to land this as-is. I hope that is ok.