ParkHanbum wrote: @dtcxzyw How about moving my code inside the foldICmpXorXX function? Is it okay if I do that? if moved, then I think that no need tests for commuative. https://github.com/llvm/llvm-project/pull/73990