[llvm] [RISCV][GlobalISel] Zbkb support for G_ROTL and G_ROTR (PR #76599)

Mikhail Gudim via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 29 22:12:53 PST 2023


mgudim wrote:

> The MIR from IRTranslator should have the same type for both operands since that's what's required by middle end IR for the fshl/fshr intrinsic.

@topperc Should I create PR adding "assert" for this. Even if it will never trigger hopefully, it will make it easier to understand the assumption. I personally thought that different types are possible.

https://github.com/llvm/llvm-project/pull/76599


More information about the llvm-commits mailing list