[cfe-commits] r63795 - /cfe/trunk/lib/CodeGen/CGBuiltin.cpp
Daniel Dunbar
daniel at zuster.org
Wed Feb 4 15:40:06 PST 2009
Author: ddunbar
Date: Wed Feb 4 17:40:00 2009
New Revision: 63795
URL: http://llvm.org/viewvc/llvm-project?rev=63795&view=rev
Log:
Chase LLVM TOT in circles (i.e., revert r63773 to match revert of
r63765).
Modified:
cfe/trunk/lib/CodeGen/CGBuiltin.cpp
Modified: cfe/trunk/lib/CodeGen/CGBuiltin.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CGBuiltin.cpp?rev=63795&r1=63794&r2=63795&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/CGBuiltin.cpp (original)
+++ cfe/trunk/lib/CodeGen/CGBuiltin.cpp Wed Feb 4 17:40:00 2009
@@ -333,9 +333,12 @@
E->arg_end());
// See if we have a target specific intrinsic.
- const char *Name = getContext().BuiltinInfo.GetName(BuiltinID);
- Intrinsic::ID IntrinsicID =
- Intrinsic::getIntrinsicForGCCBuiltin(Target.getTargetPrefix(), Name);
+ Intrinsic::ID IntrinsicID;
+ const char *TargetPrefix = Target.getTargetPrefix();
+ const char *BuiltinName = getContext().BuiltinInfo.GetName(BuiltinID);
+#define GET_LLVM_INTRINSIC_FOR_GCC_BUILTIN
+#include "llvm/Intrinsics.gen"
+#undef GET_LLVM_INTRINSIC_FOR_GCC_BUILTIN
if (IntrinsicID != Intrinsic::not_intrinsic) {
SmallVector<Value*, 16> Args;
More information about the cfe-commits
mailing list