now that predicates have a decent abstraction layer on them, introduce a new
authorChris Lattner <sabre@nondot.org>
Sun, 17 Apr 2011 22:05:17 +0000 (22:05 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 17 Apr 2011 22:05:17 +0000 (22:05 +0000)
commit7ed1391ff66012e4963081cfb20b6166e8784f50
tree5daca144fdadefe1c48e3479be81a0a96b35659b
parent543790673c747ab2793fc657e239ce5f78419dc0
now that predicates have a decent abstraction layer on them, introduce a new
kind of predicate: one that is specific to imm nodes.  The predicate function
specified here just checks an int64_t directly instead of messing around with
SDNode's.  The virtue of this is that it means that fastisel and other things
can reason about these predicates.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129675 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Target/TargetSelectionDAG.td
lib/Target/X86/X86InstrInfo.td
utils/TableGen/CodeGenDAGPatterns.cpp
utils/TableGen/CodeGenDAGPatterns.h
utils/TableGen/Record.h