aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineFunction.cpp
diff options
context:
space:
mode:
authorAmara Emerson <amara@apple.com>2020-08-14 01:58:00 -0700
committerAmara Emerson <amara@apple.com>2020-08-18 10:42:15 -0700
commit40e269ea6db9c755c27e2ee1e201a640ac085afd (patch)
treee9b94bb0a5ad68333042228445f6812fd7cc516f /llvm/lib/CodeGen/MachineFunction.cpp
parent55565752306e352e655bf8a4ba919c14d6b195c2 (diff)
downloadllvm-40e269ea6db9c755c27e2ee1e201a640ac085afd.zip
llvm-40e269ea6db9c755c27e2ee1e201a640ac085afd.tar.gz
llvm-40e269ea6db9c755c27e2ee1e201a640ac085afd.tar.bz2
[GlobalISel] Add a combine for ashr(shl x, c), c --> sext_inreg x, c'
By detecting this sign extend pattern early, we can uncover opportunities for more optimizations. Differential Revision: https://reviews.llvm.org/D85965
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions