[llvm-commits] [llvm] r45563 - /llvm/trunk/utils/TableGen/IntrinsicEmitter.cpp
Chris Lattner
sabre at nondot.org
Thu Jan 3 19:32:52 PST 2008
Author: lattner
Date: Thu Jan 3 21:32:52 2008
New Revision: 45563
URL: http://llvm.org/viewvc/llvm-project?rev=45563&view=rev
Log:
Don't let IntrinsicID be uninitialized if it doesn't match.
Modified:
llvm/trunk/utils/TableGen/IntrinsicEmitter.cpp
Modified: llvm/trunk/utils/TableGen/IntrinsicEmitter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/TableGen/IntrinsicEmitter.cpp?rev=45563&r1=45562&r2=45563&view=diff
==============================================================================
--- llvm/trunk/utils/TableGen/IntrinsicEmitter.cpp (original)
+++ llvm/trunk/utils/TableGen/IntrinsicEmitter.cpp Thu Jan 3 21:32:52 2008
@@ -360,7 +360,7 @@
OS << "// in as BuiltinName, and a target prefix (e.g. 'ppc') is passed\n";
OS << "// in as TargetPrefix. The result is assigned to 'IntrinsicID'.\n";
OS << "#ifdef GET_LLVM_INTRINSIC_FOR_GCC_BUILTIN\n";
-
+ OS << " IntrinsicID = Intrinsic::not_intrinsic;\n";
// Note: this could emit significantly better code if we cared.
for (BIMTy::iterator I = BuiltinMap.begin(), E = BuiltinMap.end();I != E;++I){
OS << " ";
More information about the llvm-commits
mailing list