[llvm] c075566 - [PS4][TLI] Remove redundant line

Paul Robinson via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 23 08:42:41 PST 2021


Author: Paul Robinson
Date: 2021-11-23T08:42:32-08:00
New Revision: c075566c8df081c965b690997a06020e1abec962

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

LOG: [PS4][TLI] Remove redundant line

Added: 
    

Modified: 
    llvm/lib/Analysis/TargetLibraryInfo.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Analysis/TargetLibraryInfo.cpp b/llvm/lib/Analysis/TargetLibraryInfo.cpp
index 7326ba74c0713..616ebc8f32655 100644
--- a/llvm/lib/Analysis/TargetLibraryInfo.cpp
+++ b/llvm/lib/Analysis/TargetLibraryInfo.cpp
@@ -684,7 +684,6 @@ static void initialize(TargetLibraryInfoImpl &TLI, const Triple &T,
     TLI.setUnavailable(LibFunc_strcat_chk);
     TLI.setUnavailable(LibFunc_strcpy_chk);
     TLI.setUnavailable(LibFunc_strlcat_chk);
-    TLI.setUnavailable(LibFunc_strlcat_chk);
     TLI.setUnavailable(LibFunc_strlcpy_chk);
     TLI.setUnavailable(LibFunc_strlen_chk);
     TLI.setUnavailable(LibFunc_strncat_chk);


        


More information about the llvm-commits mailing list