Unverified Commit 267d6b5e authored by Usman Nadeem's avatar Usman Nadeem Committed by GitHub
Browse files

[AArch64][SVE] Instcombine uzp1/reinterpret svbool to use vector.insert (#81069)

Concatenating two predictes using uzp1 after converting to double length
using sve.convert.to/from.svbool is optimized poorly in the backend,
resulting in additional `and` instructions to zero the lanes. See
https://github.com/llvm/llvm-project/pull/78623/

Combine this pattern to use `llvm.vector.insert` to concatenate and get
rid of convert to/from svbools.
parent e82659ff
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment