summaryrefslogtreecommitdiffstats
path: root/lldb/source/Core/Module.cpp
diff options
context:
space:
mode:
authorBill Schmidt <wschmidt@linux.vnet.ibm.com>2013-05-22 20:09:24 +0000
committerBill Schmidt <wschmidt@linux.vnet.ibm.com>2013-05-22 20:09:24 +0000
commitf88571e027eaaf08943aa4bd82f34026294f0e8b (patch)
treeebdfdccc6c8a6ab03a47fabd2211762d78184805 /lldb/source/Core/Module.cpp
parentf63269fdc5d20b1e57fd463a5603fce674d81721 (diff)
downloadbcm5719-llvm-f88571e027eaaf08943aa4bd82f34026294f0e8b.tar.gz
bcm5719-llvm-f88571e027eaaf08943aa4bd82f34026294f0e8b.zip
Change some PowerPC PatLeaf definitions to ImmLeaf for fast-isel.
Using PatLeaf rather than ImmLeaf when defining immediate predicates prevents simple patterns using those predicates from being recognized for fast instruction selection. This patch replaces the immSExt16 PatLeaf predicate with two ImmLeaf predicates, imm32SExt16 and imm64SExt16, allowing a few more patterns to be recognized (ADDI, ADDIC, MULLI, ADDI8, and ADDIC8). Using the new predicates does not help for LI, LI8, SUBFIC, and SUBFIC8 because these are rejected for other reasons, but I see no reason to retain the PatLeaf predicate. No functional change intended, and thus no test cases yet. This is preliminary work for enabling fast-isel support for PowerPC. When that support is ready, we'll be able to test this function. llvm-svn: 182510
Diffstat (limited to 'lldb/source/Core/Module.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud