summaryrefslogtreecommitdiffstats
path: root/llvm/utils/GetRepositoryPath
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@intel.com>2019-04-20 04:38:53 +0000
committerCraig Topper <craig.topper@intel.com>2019-04-20 04:38:53 +0000
commit4d4b5d952e4587d320fa94db5bce783a915d03ee (patch)
tree3d1c75312d2bf77ba2d8a64a1f39a88f92e00c21 /llvm/utils/GetRepositoryPath
parent8b8264828cbc4de633dfce90a7185c52a83687dc (diff)
downloadbcm5719-llvm-4d4b5d952e4587d320fa94db5bce783a915d03ee.tar.gz
bcm5719-llvm-4d4b5d952e4587d320fa94db5bce783a915d03ee.zip
[X86] Don't turn (and (shl X, C1), C2) into (shl (and X, (C1 >> C2), C2) if the original AND can represented by MOVZX.
The MOVZX doesn't require an immediate to be encoded at all. Though it does use a 2 byte opcode so its the same size as a 1 byte immediate. But it has a separate source and dest register so can help avoid copies. llvm-svn: 358805
Diffstat (limited to 'llvm/utils/GetRepositoryPath')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud