summaryrefslogtreecommitdiff
path: root/utils/TableGen
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2014-06-18 05:05:13 +0000
committerCraig Topper <craig.topper@gmail.com>2014-06-18 05:05:13 +0000
commit10d664fee72917960c8bf38cc2ec8e3b84924044 (patch)
tree6c0535956bcc25ed20dfde3f2063548a9ec34a82 /utils/TableGen
parent868e579be6c533836731500b47fc6d6d2e8e5314 (diff)
downloadllvm-10d664fee72917960c8bf38cc2ec8e3b84924044.tar.gz
llvm-10d664fee72917960c8bf38cc2ec8e3b84924044.tar.bz2
llvm-10d664fee72917960c8bf38cc2ec8e3b84924044.tar.xz
Replace some assert(0)'s with llvm_unreachable.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@211141 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/TableGen')
-rw-r--r--utils/TableGen/IntrinsicEmitter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/TableGen/IntrinsicEmitter.cpp b/utils/TableGen/IntrinsicEmitter.cpp
index 1927ad9236..5dba951428 100644
--- a/utils/TableGen/IntrinsicEmitter.cpp
+++ b/utils/TableGen/IntrinsicEmitter.cpp
@@ -380,7 +380,7 @@ static void ComputeFixedEncoding(const CodeGenIntrinsic &Int,
case 3: TypeSig.push_back(IIT_STRUCT3); break;
case 4: TypeSig.push_back(IIT_STRUCT4); break;
case 5: TypeSig.push_back(IIT_STRUCT5); break;
- default: assert(0 && "Unhandled case in struct");
+ default: llvm_unreachable("Unhandled case in struct");
}
for (unsigned i = 0, e = Int.IS.RetVTs.size(); i != e; ++i)