[llvm] [AArch64] Combine and and lsl into ubfiz (PR #118974)

David Green via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 6 09:11:23 PST 2024


davemgreen wrote:

Most of these probably get canoicalized to and(shift) https://godbolt.org/z/PP6b8PY8x, which we already have lowering for https://godbolt.org/z/c5bPGE74d. It would be nice if this handled other mask sizes too. Most of the time UBFM goes via DAG2DAG, using functions like AArch64DAGToDAGISel::tryBitfieldInsertInZeroOp.

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


More information about the llvm-commits mailing list