aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-03-01 07:27:07 +0000
committerChris Lattner <sabre@nondot.org>2010-03-01 07:27:07 +0000
commitbd8965a7d9e0ed34bc3a357c2f710de5fbdda36f (patch)
treef18a694939dc22a774eaf28aada1b828c83de5f5 /lib/CodeGen/SelectionDAG/SelectionDAG.cpp
parentfa342faef9d1c89de356ed83a6c6529ed3e87610 (diff)
Emit a redundant check for immediates at root context, e.g. (imm 0).
This allows formation of OpcodeSwitch for top level patterns, in particular on X86. This saves about 1K of data space in the x86 table and makes the dispatch much more efficient. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97440 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/SelectionDAG.cpp')
0 files changed, 0 insertions, 0 deletions