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

Jessica Paquette via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 3 10:01:30 PDT 2022


paquette added a comment.

Why can't this be caught pre-legalize?



================
Comment at: llvm/lib/Target/AArch64/GISel/AArch64PostLegalizerCombiner.cpp:368
+
+static void applySextViaShiftsOfVCmp(MachineInstr &MI, MachineRegisterInfo &MRI,
+                                     MachineIRBuilder &B,
----------------
`replaceSingleDefInstWithReg`?


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