This is an archive of the discontinued LLVM Phabricator instance.

[RISCV] Add early out to generateInstSeq when the initial sequence is 1 or 2 instructions.
ClosedPublic

Authored by craig.topper on Jun 6 2023, 12:13 PM.

Details

Summary

This avoids checking the size of the sequence repeatedly for each
special case. Especially on RV32 where none of the special cases
apply.

Diff Detail