You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You could try using LLVM's "-stop-before=machine-scheduler" -o file.mir <file> and then create a reduced version of the MIR based on that.
There don't seem to be many examples of MIR tests for X86 in LLMV either. I tried to make something to get you started since MIR is really finicky. For example you can only explicitly mark physical registers as livein...
This probably isn't recreating the register classes correctly to repo the bug. You can run the scheduler on this code at least with llc -march=x86-64 -run-pass=machine-scheduler testname.mir -o -.
The bug in #92 has a rather small test case which should be made into a lit regression test. The example DDG:
The def/use information:
Buggy graph transformations result in a DDG of:
However, the optimal schedule is COPY first, as it closes the live range for R0.
The text was updated successfully, but these errors were encountered: