summaryrefslogtreecommitdiffstats
path: root/llvm/utils/git
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@intel.com>2019-04-20 04:38:49 +0000
committerCraig Topper <craig.topper@intel.com>2019-04-20 04:38:49 +0000
commit8b8264828cbc4de633dfce90a7185c52a83687dc (patch)
treef08c06ef00f34a969cacf3cccdb4fa4a10ac15dd /llvm/utils/git
parent8f28f7a488158730410662be906c77216ab8e6cc (diff)
downloadbcm5719-llvm-8b8264828cbc4de633dfce90a7185c52a83687dc.tar.gz
bcm5719-llvm-8b8264828cbc4de633dfce90a7185c52a83687dc.zip
[X86] Turn (and (anyextend (shl X, C1), C2)) into (shl (and (anyextend X), (C1 >> C2), C2) if the AND could match a movzx.
There's one slight regression in here because we don't check that the immediate already allowed movzx before the shift. I'll fix that next. llvm-svn: 358804
Diffstat (limited to 'llvm/utils/git')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud