mayanksolanki393 wrote: Implemented the suggested changes. I have made some additional changes to the test cases to match the overall style from other InstCombine related testcases. https://github.com/llvm/llvm-project/pull/143846