aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineInstr.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@intel.com>2019-04-19 05:48:09 +0000
committerCraig Topper <craig.topper@intel.com>2019-04-19 05:48:09 +0000
commit2099ccbe1ffbc0a71fef992ad8ad15164c450cc0 (patch)
tree26f351d532632728d045041517c5e00f002104c4 /llvm/lib/CodeGen/MachineInstr.cpp
parentf73caae956a675c3fa2358b3ade7e67850064d2a (diff)
downloadllvm-2099ccbe1ffbc0a71fef992ad8ad15164c450cc0.zip
llvm-2099ccbe1ffbc0a71fef992ad8ad15164c450cc0.tar.gz
llvm-2099ccbe1ffbc0a71fef992ad8ad15164c450cc0.tar.bz2
[X86] Add test cases for turning (and (shl X, C1), C2) into (shl (and X, (C1 >> C2), C2) when the AND could match to a movzx.
We already reorder when C1 >> C2 would allow a smaller immediate encoding. llvm-svn: 358736
Diffstat (limited to 'llvm/lib/CodeGen/MachineInstr.cpp')
0 files changed, 0 insertions, 0 deletions