commit | c9739ec212365e5197eb87cb3a50d256df626dc4 | [log] [tgz] |
---|---|---|
author | Craig Topper <craig.topper@gmail.com> | Tue May 26 08:07:49 2015 +0000 |
committer | Craig Topper <craig.topper@gmail.com> | Tue May 26 08:07:49 2015 +0000 |
tree | ebd134fd59fbe23baf0c1c7dfe721019c3d340ee | |
parent | 88008cb7109800fb9f09d3ced539bc574d8eaf73 [diff] |
[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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@238186 91177308-0d34-0410-b5e6-96231b3b80d8