Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
This looks great, thanks! Since it's a CodeGen pass, I would suggest using a MIR test instead of an IR one, but I think it's probably easier to read it as it is right now.
Good call. As-is, this is probably more sensitive to changes in the passes that happen before early-ifcvt than it should be. Making it a MIR test should tighten that up a bit.
I'm having trouble getting -stop-before MIR output to trigger these remarks when fed back into llc, so instead I've just relaxed the checks against specific cycle counts to be more forgiving.
clang-tidy: warning: #includes are not sorted properly [llvm-include-order]
not useful
clang-format: please reformat the code