[X86] X86FixupInstTuning.cpp - fix comment in ProcessVPERMILPSri. NFC.
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Sun, 23 Apr 2023 09:32:04 +0000 (10:32 +0100)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Sun, 23 Apr 2023 09:32:17 +0000 (10:32 +0100)
PERMILPS is only available on AVX or later (VEX/EVEX encoding)

llvm/lib/Target/X86/X86FixupInstTuning.cpp

index ab0dd72..ba143a7 100644 (file)
@@ -129,7 +129,7 @@ bool X86FixupInstTuningPass::processInstruction(
   // `vpermilps r, i` -> `vshufps r, r, i`
   // `vpermilps r, i, k` -> `vshufps r, r, i, k`
   // `vshufps` is always as fast or faster than `vpermilps` and takes
-  // 1 less byte of code size for VEX and SSE encoding.
+  // 1 less byte of code size for VEX and EVEX encoding.
   auto ProcessVPERMILPSri = [&](unsigned NewOpc) -> bool {
     if (!NewOpcPreferable(NewOpc))
       return false;