[llvm-commits] [llvm] r45557 - /llvm/trunk/utils/TableGen/IntrinsicEmitter.cpp
Bill Wendling
isanbard at gmail.com
Thu Jan 3 15:02:16 PST 2008
Author: void
Date: Thu Jan 3 17:02:16 2008
New Revision: 45557
URL: http://llvm.org/viewvc/llvm-project?rev=45557&view=rev
Log:
Remove the default else. This was ending in code that looked like this:
if (!strcmp(Target, "x86")) {
// ...
}
else
IntrinsicID = Intrinsic::not_intrinsic;
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=45557&r1=45556&r2=45557&view=diff
==============================================================================
--- llvm/trunk/utils/TableGen/IntrinsicEmitter.cpp (original)
+++ llvm/trunk/utils/TableGen/IntrinsicEmitter.cpp Thu Jan 3 17:02:16 2008
@@ -381,7 +381,5 @@
}
OS << " }\n";
}
- OS << " else\n";
- OS << " IntrinsicID = Intrinsic::not_intrinsic;\n";
OS << "#endif\n\n";
}
More information about the llvm-commits
mailing list