rohitaggarwal007 wrote: @RKSimon Created a new PR with test cases. Used the logic provided by you and done some changes in refineUniformBase for test case#3. https://github.com/llvm/llvm-project/pull/134979/ https://github.com/llvm/llvm-project/pull/130920