aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/IR/Module.cpp
diff options
context:
space:
mode:
authorhev <wangrui@loongson.cn>2025-06-12 18:39:16 +0800
committerGitHub <noreply@github.com>2025-06-12 18:39:16 +0800
commitfe28ea37b640ea4842583df3b89e08877220fb8e (patch)
treef63448203d3f645f99baa5a7c9058f9fdc896f3b /llvm/lib/IR/Module.cpp
parent20d5d09e99188dfc7df6e4e4f1c37512e0ab318e (diff)
downloadllvm-fe28ea37b640ea4842583df3b89e08877220fb8e.zip
llvm-fe28ea37b640ea4842583df3b89e08877220fb8e.tar.gz
llvm-fe28ea37b640ea4842583df3b89e08877220fb8e.tar.bz2
[LoongArch] Add demanded bits support for [X]VMSKLTZ (#143528)
This patch adds a DAG combine hook for the [X]VMSKLTZ nodes to simplify their input when possible. It also implements target-specific logic in SimplifyDemandedBitsForTargetNode to optimize away unnecessary computations when only a subset of the sign bits in the vector results is actually used.
Diffstat (limited to 'llvm/lib/IR/Module.cpp')
0 files changed, 0 insertions, 0 deletions