aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineBasicBlock.cpp
diff options
context:
space:
mode:
authorWeining Lu <luweining@loongson.cn>2022-06-23 17:07:42 +0800
committerWeining Lu <luweining@loongson.cn>2022-06-23 17:10:06 +0800
commit20e6ada2fb94a97e677c5493dd6c1886d416c91a (patch)
treee92841fe56ec4d1b6872f3e24acc07ab380fe507 /llvm/lib/CodeGen/MachineBasicBlock.cpp
parent24a98881cdb458376fc23ace6247b62084b4ad38 (diff)
downloadllvm-20e6ada2fb94a97e677c5493dd6c1886d416c91a.zip
llvm-20e6ada2fb94a97e677c5493dd6c1886d416c91a.tar.gz
llvm-20e6ada2fb94a97e677c5493dd6c1886d416c91a.tar.bz2
[LoongArch] Combine ((x & shifted_mask) >> shamt) to bstrpick.{w/d}
This is an improvement to LoongArch codegen. In D127206 we combined ((x >> shamt) & shifted_mask) to bstrpick and here we do a similar combination when certain conditions are met. Thanks to @xen0n for reminding me. Differential Revision: https://reviews.llvm.org/D128191
Diffstat (limited to 'llvm/lib/CodeGen/MachineBasicBlock.cpp')
0 files changed, 0 insertions, 0 deletions