Skip to content
Commit c91cd4f3 authored by Joe Ellis's avatar Joe Ellis
Browse files

[AArch64][SVE][InstCombine] Replace last{a,b} intrinsics with extracts...



when the predicate used by last{a,b} specifies a known vector length.

For example:
  aarch64_sve_lasta(VL1, D) -> extractelement(D, #1)
  aarch64_sve_lastb(VL1, D) -> extractelement(D, #0)

Co-authored-by: default avatarPaul Walker <paul.walker@arm.com>

Differential Revision: https://reviews.llvm.org/D100476
parent 90248f2d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment