diff options
author | Chris Lattner <sabre@nondot.org> | 2008-01-04 03:32:52 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2008-01-04 03:32:52 +0000 |
commit | a47634ecb16458898871ff5996756733193f5c6d (patch) | |
tree | 85de6449dd97c01657bf50545031dd9fa58aaeb2 /llvm/utils/TableGen/IntrinsicEmitter.cpp | |
parent | 2e1ba07f161944b35e5f1c97dbd0fe3b00f18215 (diff) | |
download | bcm5719-llvm-a47634ecb16458898871ff5996756733193f5c6d.tar.gz bcm5719-llvm-a47634ecb16458898871ff5996756733193f5c6d.zip |
Don't let IntrinsicID be uninitialized if it doesn't match.
llvm-svn: 45563
Diffstat (limited to 'llvm/utils/TableGen/IntrinsicEmitter.cpp')
-rw-r--r-- | llvm/utils/TableGen/IntrinsicEmitter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/utils/TableGen/IntrinsicEmitter.cpp b/llvm/utils/TableGen/IntrinsicEmitter.cpp index 3ac8db1c777..f7d852d725b 100644 --- a/llvm/utils/TableGen/IntrinsicEmitter.cpp +++ b/llvm/utils/TableGen/IntrinsicEmitter.cpp @@ -360,7 +360,7 @@ EmitIntrinsicToGCCBuiltinMap(const std::vector<CodeGenIntrinsic> &Ints, 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 << " "; |