pfusik wrote: > The RISCVDAGToDAGISel::selectInvLogicImm is getting executed when I tried to test it. You are right, thank you. I made a stupid mistake of debugging `clang` while building only `llc`. https://github.com/llvm/llvm-project/pull/123345