[PATCH] D102398: [RISCV] Optimize or/xor with immediate

Ben Shi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 14 08:12:44 PDT 2021


benshi001 added a comment.

In D102398#2758054 <https://reviews.llvm.org/D102398#2758054>, @luismarques wrote:

> We need to optimize integer materialization, both in general and to take advantage of bitmanip. I suppose that the baseline test would be less bad if we had done that, but that this optimization would still be worth it?

Thanks for your suggestion. I will check if integer materialization can be optimized by bitmanip. But I still think my optimization is worthy to do. Snice it saves an unnecessary or/xor instr.


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

https://reviews.llvm.org/D102398



More information about the llvm-commits mailing list