[PATCH] D142777: [RISCV] Add asserts that we don't increase codesize during pseudo expansion

Luís Marques via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Jan 29 13:32:26 PST 2023


luismarques added a comment.

Overall seems a reasonable implementation, despite the limitations pointed out in the patch description.

BTW, a little while ago while debugging some branch relaxation issues I noticed that we were overestimating the size of some instructions and thus relaxing when it wasn't needed. I made a mental note to look into that when I could. It will be useful to have these additional checks if we start tightening loose upper bounds.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D142777/new/

https://reviews.llvm.org/D142777



More information about the llvm-commits mailing list