Fix some tablegen issues to allow using zero_reg for InstAlias definitions.
authorBob Wilson <bob.wilson@apple.com>
Fri, 14 Jan 2011 22:58:09 +0000 (22:58 +0000)
committerBob Wilson <bob.wilson@apple.com>
Fri, 14 Jan 2011 22:58:09 +0000 (22:58 +0000)
commitdc1a2bd3aa199693413f39dd723cc14a77e9f131
tree9760cd259762986e7a75a5d63836f49f7da95552
parent7cefd0e9d596e0adc45b693d3f18d53ed0db259b
Fix some tablegen issues to allow using zero_reg for InstAlias definitions.

This is needed to allow an InstAlias for an instruction with an "OptionalDef"
result register (like ARM's cc_out) where you want to set the optional register
to reg0.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123490 91177308-0d34-0410-b5e6-96231b3b80d8
utils/TableGen/AsmMatcherEmitter.cpp
utils/TableGen/CodeGenInstruction.cpp