[llvm] 43593a0 - [GlobalIsel][X86] Fix copy+pasta typo in the G_EXTRACT/G_INSERT legal type pairs

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 14 12:49:07 PDT 2023


Author: Simon Pilgrim
Date: 2023-06-14T20:48:53+01:00
New Revision: 43593a0a14d372962b2e6017d2adb1f371e54b19

URL: https://github.com/llvm/llvm-project/commit/43593a0a14d372962b2e6017d2adb1f371e54b19
DIFF: https://github.com/llvm/llvm-project/commit/43593a0a14d372962b2e6017d2adb1f371e54b19.diff

LOG: [GlobalIsel][X86] Fix copy+pasta typo in the G_EXTRACT/G_INSERT legal type pairs

Added: 
    

Modified: 
    llvm/lib/Target/X86/X86LegalizerInfo.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Target/X86/X86LegalizerInfo.cpp b/llvm/lib/Target/X86/X86LegalizerInfo.cpp
index b9b904c3678c9..672550bba83dc 100644
--- a/llvm/lib/Target/X86/X86LegalizerInfo.cpp
+++ b/llvm/lib/Target/X86/X86LegalizerInfo.cpp
@@ -382,7 +382,7 @@ X86LegalizerInfo::X86LegalizerInfo(const X86Subtarget &STI,
                                          {v2s64, v4s64}})(Query)) ||
                (HasAVX512 && typePairInSet(SubIdx, FullIdx,
                                            {{v16s8, v64s8},
-                                            {v16s8, v64s8},
+                                            {v32s8, v64s8},
                                             {v8s16, v32s16},
                                             {v16s16, v32s16},
                                             {v4s32, v16s32},


        


More information about the llvm-commits mailing list