Pierre-vh wrote: Ah, this doesn't do anything at this stage. It's only helpful once we disable widening of i16 ops to i32 in CGP. Then this pattern can appear and it'll fold it.
This combine is tested in AArch64. Should I copy over a few simple test cases in the AMDGPU folder just to show the combine works in RegBankCombiner? https://github.com/llvm/llvm-project/pull/131623 _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits