diff options
author | Craig Topper <craig.topper@gmail.com> | 2015-05-26 08:07:49 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2015-05-26 08:07:49 +0000 |
commit | 33684f9e64828ee5408ab72ba54beb3b7b2ec754 (patch) | |
tree | 0dafb1f0500f1dfe05c4af8bddfb2d1c814c56ae /llvm/lib/Target/PowerPC/Disassembler/PPCDisassembler.cpp | |
parent | cb7648be17bfeed88e2e54fa8f84d7dc17fdb985 (diff) | |
download | llvm-33684f9e64828ee5408ab72ba54beb3b7b2ec754.zip llvm-33684f9e64828ee5408ab72ba54beb3b7b2ec754.tar.gz llvm-33684f9e64828ee5408ab72ba54beb3b7b2ec754.tar.bz2 |
[TableGen] Rewrite an assert to not do a bunch unsigned math and then try to ensure the result is a positive number.
I think the fact that it was explicitly excluding 0 kept this from being a tautology. The exclusion of 0 for the old math was also a bug that's easily hit if the description gets split into multiple lines.
llvm-svn: 238186
Diffstat (limited to 'llvm/lib/Target/PowerPC/Disassembler/PPCDisassembler.cpp')
0 files changed, 0 insertions, 0 deletions