[llvm] [AArch64][GlobalISel] Expand abs.v4i8 to v4i16 and abs.v2s16 to v2s32 (PR #81231)

David Green via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 12 12:57:36 PST 2024


davemgreen wrote:

Following what DAG did if it's known not to be optimal probably isn't the best. DAG would promote integers but widen floats. GlobalISel loses type information so needs to pick one to use for both. I think in the long run we might want pick one (I was originally thinking widening), and fixup the places where it doesn't work so well.

Is the falling back due to G_ANYEXT not being handled? What would it take to make that work?

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


More information about the llvm-commits mailing list