[llvm] [AArch64] Full reverse shuffles. (PR #119083)

Thorsten Schütt via llvm-commits llvm-commits at lists.llvm.org
Sat Dec 7 09:40:35 PST 2024


================
@@ -405,6 +405,28 @@ void applyEXT(MachineInstr &MI, ShuffleVectorPseudo &MatchInfo) {
   MI.eraseFromParent();
 }
 
+bool matchFullRev(MachineInstr &MI, MachineRegisterInfo &MRI) {
+  assert(MI.getOpcode() == TargetOpcode::G_SHUFFLE_VECTOR);
----------------
tschuett wrote:

`GShuffleVector *Shuffle = cast<GShuffleVector>(&MI);`

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


More information about the llvm-commits mailing list