summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/frame/TestFrames.py
diff options
context:
space:
mode:
authorHans Wennborg <hans@hanshq.net>2016-03-25 18:11:31 +0000
committerHans Wennborg <hans@hanshq.net>2016-03-25 18:11:31 +0000
commit5f916d3df42330d647cefa8c36a0ab2ec6cc0f62 (patch)
tree8e88c9fa82f14a210aae39335195dcdc37b3d7ab /lldb/packages/Python/lldbsuite/test/python_api/frame/TestFrames.py
parent9cd77ce1691ff01e36fed4b9ad47e15096b74159 (diff)
downloadbcm5719-llvm-5f916d3df42330d647cefa8c36a0ab2ec6cc0f62.tar.gz
bcm5719-llvm-5f916d3df42330d647cefa8c36a0ab2ec6cc0f62.zip
[X86] Use "and $0" and "orl $-1" to store 0 and -1 when optimizing for minsize
64-bit, 32-bit and 16-bit move-immediate instructions are 7, 6, and 5 bytes, respectively, whereas and/or with 8-bit immediate is only three bytes. Since these instructions imply an additional memory read (which the CPU could elide, but we don't think it does), restrict these patterns to minsize functions. Differential Revision: http://reviews.llvm.org/D18374 llvm-svn: 264440
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/frame/TestFrames.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud