diff options
author | Hans Wennborg <hans@hanshq.net> | 2015-12-15 17:10:28 +0000 |
---|---|---|
committer | Hans Wennborg <hans@hanshq.net> | 2015-12-15 17:10:28 +0000 |
commit | 08d5905bac168324ed5bebf80ee253dd5ec3fca6 (patch) | |
tree | f66ef0223aaf36c5e9d2aa444a5901c29758e8a0 /lldb/packages/Python/lldbsuite/test/python_api/thread/main2.cpp | |
parent | 0d10b2cf3c2d91e028d04b6cb297f1b6a20e1416 (diff) | |
download | bcm5719-llvm-08d5905bac168324ed5bebf80ee253dd5ec3fca6.tar.gz bcm5719-llvm-08d5905bac168324ed5bebf80ee253dd5ec3fca6.zip |
[X86] Smaller code for materializing 32-bit 1 and -1 constants
"movl $-1, %eax" is 5 bytes, "xorl %eax, %eax; decl %eax" is 3 bytes.
This commit makes LLVM use the latter when optimizing for size.
Differential Revision: http://reviews.llvm.org/D14971
llvm-svn: 255656
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/thread/main2.cpp')
0 files changed, 0 insertions, 0 deletions