summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms
diff options
context:
space:
mode:
authorDavid Majnemer <david.majnemer@gmail.com>2015-08-16 04:52:11 +0000
committerDavid Majnemer <david.majnemer@gmail.com>2015-08-16 04:52:11 +0000
commit1a59e49f3caeacf5d8525351ac361abb56bc8fb1 (patch)
tree491e779ed739c8bda8b6c067dbc102a3e02137fc /llvm/lib/Transforms
parent5196275eeab605a62060ed07c66bb6d49a767a62 (diff)
downloadbcm5719-llvm-1a59e49f3caeacf5d8525351ac361abb56bc8fb1.tar.gz
bcm5719-llvm-1a59e49f3caeacf5d8525351ac361abb56bc8fb1.zip
[X86] Widen the 'AND' mask if doing so shrinks the encoding size
We can set additional bits in a mask given that we know the other operand of an AND already has some bits set to zero. This can be more efficient if doing so allows us to use an instruction which implicitly sign extends the immediate. This fixes PR24085. Differential Revision: http://reviews.llvm.org/D11289 llvm-svn: 245169
Diffstat (limited to 'llvm/lib/Transforms')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud