[TableGen] Make BitRecTy::baseClassOf return true when RHS is an IntRecTy.
authorCraig Topper <craig.topper@gmail.com>
Wed, 22 Apr 2015 04:18:32 +0000 (04:18 +0000)
committerCraig Topper <craig.topper@gmail.com>
Wed, 22 Apr 2015 04:18:32 +0000 (04:18 +0000)
commit459448abccc55aeabe422b270bcabe6357a34b2e
tree9bdff7511b60bb39ddd5e8325b7fc335f69712da
parentaee08e5bacb5b6edc2deba6dd080236c9154d967
[TableGen] Make BitRecTy::baseClassOf return true when RHS is an IntRecTy.

Previously the code was accidentally checking if 'this' was an IntRecTy which it can't be since 'this' is a BitRecTy. Looking back at the history it appears it was intended to check RHS.

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