[llvm-branch-commits] [clang] 666a204 - Removed unneccessary comments

Albion Fung via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Tue Jun 29 00:46:35 PDT 2021


Author: Albion Fung
Date: 2021-06-29T02:46:17-05:00
New Revision: 666a2043718050e4f34f7b50d74a7e7b2e882d93

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

LOG: Removed unneccessary comments

Added: 
    

Modified: 
    clang/lib/Sema/SemaChecking.cpp

Removed: 
    


################################################################################
diff  --git a/clang/lib/Sema/SemaChecking.cpp b/clang/lib/Sema/SemaChecking.cpp
index 587eaf63a9e8..e8d45bfe4aab 100644
--- a/clang/lib/Sema/SemaChecking.cpp
+++ b/clang/lib/Sema/SemaChecking.cpp
@@ -3347,17 +3347,8 @@ bool Sema::CheckPPCBuiltinFunctionCall(const TargetInfo &TI, unsigned BuiltinID,
     return SemaBuiltinConstantArgRange(TheCall, 2, 1, 31);
   }
   case PPC::BI__builtin_ppc_tdw: {
-    // return TI.getTypeWidth(TI.getIntPtrType()) == 64 &&
-           return SemaBuiltinConstantArgRange(TheCall, 2, 1, 31);
-  }
-  // case PPC::BI__builtin_ppc_fcfid:
-  // case PPC::BI__builtin_ppc_fcfud:
-  // case PPC::BI__builtin_ppc_fctid:
-  // case PPC::BI__builtin_ppc_fctidz:
-  // case PPC::BI__builtin_ppc_fctudz:
-  // case PPC::BI__builtin_ppc_trapd: {
-    // TI.getTypeWidth(TI.getIntPtrType()) == 64;
-  // }
+    return SemaBuiltinConstantArgRange(TheCall, 2, 1, 31);
+  }
 #define CUSTOM_BUILTIN(Name, Intr, Types, Acc) \
   case PPC::BI__builtin_##Name: \
     return SemaBuiltinPPCMMACall(TheCall, Types);


        


More information about the llvm-branch-commits mailing list