add support for literal immediates in patterns to match, allowing us to
authorChris Lattner <sabre@nondot.org>
Wed, 19 Oct 2005 04:41:05 +0000 (04:41 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 19 Oct 2005 04:41:05 +0000 (04:41 +0000)
commit2f041d49a9750b714a8ceebe28038c78c6c40a4e
tree842627a1d95e9843015c849bf0d37e6d3cdbbd49
parentf6cd147471fb9a89661e2093731d6d40d4f41c7c
add support for literal immediates in patterns to match, allowing us to
write things like this:

def : Pat<(add GPRC:$in, 12),
          (ADD12 GPRC:$in)>;

Andrew: if this isn't enough or doesn't work for you, please lemme know.

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