[PATCH] Allow code generation of ARM usat/ssat instructions

Weiming Zhao weimingz at codeaurora.org
Tue Mar 17 11:23:37 PDT 2015


In http://reviews.llvm.org/D8371#142055, @rengolin wrote:

> Hi Ahmed,
>
> It seems a more generic approach to saturation would be a lot less complicated than this very long and repetitive list of conditionals. I may be wrong, but this pattern is normally target independent and can be done in generic IR, so it shouldn't be at all an ARM pass. Once you have usat and ssat (generic) intrinsics, then you can start pattern matching to select the best one, vectorize, etc.
>
> Do you have your review somewhere public? A Phab review perhaps?
>
> Weiming, maybe merging with the in progress patch would give you some ideas.
>
> Makes sense?
>
> cheers,
> --renato


Is this the patch for generic sat? http://reviews.llvm.org/D6976
We can merge this first


http://reviews.llvm.org/D8371

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the llvm-commits mailing list