[llvm] [MIPS] Sign-extend subwords when expanding atomic max/min (PR #89246)

via llvm-commits llvm-commits at lists.llvm.org
Sun Apr 21 19:11:39 PDT 2024


yingopq wrote:

> [syq-89246.patch](https://github.com/llvm/llvm-project/files/15048858/syq-89246.patch)
> 
> @jdmitrovic-syrmia I figure out a patch. I have some test on both big-endian and little endian. can you have a review?

The slt instruction requires both parameters to be sign extended.

https://github.com/llvm/llvm-project/pull/89246


More information about the llvm-commits mailing list