aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/IR/Function.cpp
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2022-06-22 19:48:31 +0100
committerAmanieu d'Antras <amanieu@gmail.com>2022-06-22 19:49:20 +0100
commitd0a4450ecdaf124f9d422dbcba8cbdbeb50c836a (patch)
tree4a23f9869889907b2cf719db21a0d7310d91ab60 /llvm/lib/IR/Function.cpp
parent1c7889ca4d82137b22eab3e7f5d704716ba75a59 (diff)
downloadllvm-d0a4450ecdaf124f9d422dbcba8cbdbeb50c836a.zip
llvm-d0a4450ecdaf124f9d422dbcba8cbdbeb50c836a.tar.gz
llvm-d0a4450ecdaf124f9d422dbcba8cbdbeb50c836a.tar.bz2
Rename GCCBuiltin into ClangBuiltin
This patch is needed because developers expect "GCCBuiltin" items to be the GCC intrinsics equivalent and not the Clang internals. Reviewed By: #libc_abi, RKSimon, xbolva00 Differential Revision: https://reviews.llvm.org/D127460
Diffstat (limited to 'llvm/lib/IR/Function.cpp')
-rw-r--r--llvm/lib/IR/Function.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/IR/Function.cpp b/llvm/lib/IR/Function.cpp
index c5534a7..778e230 100644
--- a/llvm/lib/IR/Function.cpp
+++ b/llvm/lib/IR/Function.cpp
@@ -1426,10 +1426,10 @@ Function *Intrinsic::getDeclaration(Module *M, ID id, ArrayRef<Type*> Tys) {
.getCallee());
}
-// This defines the "Intrinsic::getIntrinsicForGCCBuiltin()" method.
-#define GET_LLVM_INTRINSIC_FOR_GCC_BUILTIN
+// This defines the "Intrinsic::getIntrinsicForClangBuiltin()" method.
+#define GET_LLVM_INTRINSIC_FOR_CLANG_BUILTIN
#include "llvm/IR/IntrinsicImpl.inc"
-#undef GET_LLVM_INTRINSIC_FOR_GCC_BUILTIN
+#undef GET_LLVM_INTRINSIC_FOR_CLANG_BUILTIN
// This defines the "Intrinsic::getIntrinsicForMSBuiltin()" method.
#define GET_LLVM_INTRINSIC_FOR_MS_BUILTIN