[llvm] 508e39a - GlobalISel: remove redundant line added in D114198. NFC

Petar Avramovic via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 27 03:15:46 PST 2021


Author: Petar Avramovic
Date: 2021-12-27T12:14:13+01:00
New Revision: 508e39afe012e3197be1149812c8e5a47a955fe4

URL: https://github.com/llvm/llvm-project/commit/508e39afe012e3197be1149812c8e5a47a955fe4
DIFF: https://github.com/llvm/llvm-project/commit/508e39afe012e3197be1149812c8e5a47a955fe4.diff

LOG: GlobalISel: remove redundant line added in D114198. NFC

Added: 
    

Modified: 
    llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp b/llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
index e8a8efd5dad40..6867597a10f03 100644
--- a/llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
+++ b/llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
@@ -3655,7 +3655,6 @@ static bool hasSameNumEltsOnAllVectorOperands(
     if (!Ty.isVector()) {
       if (!is_contained(NonVecOpIndices, OpIdx))
         return false;
-      is_contained(NonVecOpIndices, OpIdx);
       continue;
     }
 


        


More information about the llvm-commits mailing list