aboutsummaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2008-01-03 23:02:16 +0000
committerBill Wendling <isanbard@gmail.com>2008-01-03 23:02:16 +0000
commitfd0e905a6f2587ee879bc2c6ba81da2605605ce7 (patch)
tree6a98a051b80d467a7dbda06225dfcce89a829d85 /utils
parent96e66cbfcc63863e9630ce58735fc1e27f7949c5 (diff)
downloadexternal_llvm-fd0e905a6f2587ee879bc2c6ba81da2605605ce7.zip
external_llvm-fd0e905a6f2587ee879bc2c6ba81da2605605ce7.tar.gz
external_llvm-fd0e905a6f2587ee879bc2c6ba81da2605605ce7.tar.bz2
Remove the default else. This was ending in code that looked like this:
if (!strcmp(Target, "x86")) { // ... } else IntrinsicID = Intrinsic::not_intrinsic; git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45557 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils')
-rw-r--r--utils/TableGen/IntrinsicEmitter.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/utils/TableGen/IntrinsicEmitter.cpp b/utils/TableGen/IntrinsicEmitter.cpp
index bf8ab8e..3ac8db1 100644
--- a/utils/TableGen/IntrinsicEmitter.cpp
+++ b/utils/TableGen/IntrinsicEmitter.cpp
@@ -381,7 +381,5 @@ EmitIntrinsicToGCCBuiltinMap(const std::vector<CodeGenIntrinsic> &Ints,
}
OS << " }\n";
}
- OS << " else\n";
- OS << " IntrinsicID = Intrinsic::not_intrinsic;\n";
OS << "#endif\n\n";
}