RamaMalladiAWS wrote:

> Hello. Can you explain why this is needed, as opposed to using the equivalent 
> shift/and/ors?

Hi @davemgreen, one of AWS customers requested for such an intrinsic to be made 
available so that they could consume it their IR directly. The reasoning they 
had was to use 1 instruction such `bfi` instead of a combination of `shift`, 
`and`, `or`.

https://github.com/llvm/llvm-project/pull/79672
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to