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

YunQiang Su via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 19 00:04:08 PDT 2024


wzssyqa wrote:

Just for reference: there is 
```
sllv    $7, $5, $10
...
seh     $7, $7
```

Maybe they are not needed at all. The ABI requires the arguments passed in registers to be well sign-extended.

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


More information about the llvm-commits mailing list