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

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Sat Dec 30 00:07:52 PST 2023


topperc 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.

Add an assert where?

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


More information about the llvm-commits mailing list