If we want to emit things in enum order, use getInstructionsByEnumValue to
authorChris Lattner <sabre@nondot.org>
Fri, 27 Jan 2006 01:44:09 +0000 (01:44 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 27 Jan 2006 01:44:09 +0000 (01:44 +0000)
commitf52e2618f3992aa673c738aa1d2e6c046a0b6f5a
treead29157955933678963253288ca5ce276bcd14f3
parent387e4bdf002c78a1b43a10e10cf5147baf32f513
If we want to emit things in enum order, use getInstructionsByEnumValue to
get the order, don't compute it ourselves.

Don't emit stuff like (14<<0), emit 14 instead.

Don't attempt to get target properties for builtin instructions.

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