[TableGen] Remove an unnecessary outer 'if' around 3 separate inner ifs. No functiona...
authorCraig Topper <craig.topper@gmail.com>
Thu, 14 May 2015 05:54:02 +0000 (05:54 +0000)
committerCraig Topper <craig.topper@gmail.com>
Thu, 14 May 2015 05:54:02 +0000 (05:54 +0000)
commitbed1965111fc29929e8b282c489e05c857610fb9
treeccf78918c9f08f452a45bdc3955440988c661668
parent8a049abf2f61829d96e853057e083953d142db5b
[TableGen] Remove an unnecessary outer 'if' around 3 separate inner ifs. No functional change intended.

The outer if had 3 separate conditions ORed together and then the inner ifs detected which of the three conditions it was by using only a portion of the specific condition. Just put the whole condition in each inner if and remove the outer if.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@237343 91177308-0d34-0410-b5e6-96231b3b80d8
lib/TableGen/Record.cpp