Skip to content
Unverified Commit cb5bad2a authored by David Green's avatar David Green Committed by GitHub
Browse files

[AArch64][GlobalISel] Add lowering for constant BIT/BIF/BSP (#65897)

The non-constant bit/bif/bsp already work through tablegen patterns, this
patch handles the constant case, mirroring the basic support for
`or(and(X, C), and(Y, ~C))` from ISel tryCombineToBSL. BSP gets expanded
to either BIT, BIF or BSL depending on the best register allocation.
G_BIT can be replaced with G_BSP as a more general alternative.
parent b7cb18c5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment