[PATCH] D135078: [AArch64][GlobalISel] Fold away lowered vector sign-extend of vector compares

Amara Emerson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 3 12:40:33 PDT 2022


aemerson added a comment.

In D135078#3831120 <https://reviews.llvm.org/D135078#3831120>, @paquette wrote:

> Why can't this be caught pre-legalize?

Because the sign-extend and the subsequent shifts only appear during legalization. Before that there’s nothing to combine.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D135078/new/

https://reviews.llvm.org/D135078



More information about the llvm-commits mailing list