diff options
| author | Nadav Rotem <nrotem@apple.com> | 2012-08-18 02:43:28 +0000 |
|---|---|---|
| committer | Nadav Rotem <nrotem@apple.com> | 2012-08-18 02:43:28 +0000 |
| commit | 2cb14a5c4b4fe3b6d5980c6b21d31c8c008f96e4 (patch) | |
| tree | 272d3411cbdeca17635f9969b930e4d0d07cae40 /lldb/scripts | |
| parent | 4f605aff7f121d8ef0856574b7a0c6db5d46619d (diff) | |
| download | bcm5719-llvm-2cb14a5c4b4fe3b6d5980c6b21d31c8c008f96e4.tar.gz bcm5719-llvm-2cb14a5c4b4fe3b6d5980c6b21d31c8c008f96e4.zip | |
The X86 backend has a number of optimizations for SETCC nodes which use
arithmetic instructions. However, when small data types are used, a truncate
node appears between the SETCC node and the arithmetic operation. This patch
adds support for this pattern.
Before:
xorl %esi, %edi
testb %dil, %dil
setne %al
ret
After:
xorb %dil, %sil
setne %al
ret
rdar://12081007
llvm-svn: 162160
Diffstat (limited to 'lldb/scripts')
0 files changed, 0 insertions, 0 deletions

