aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-objdump/llvm-objdump.cpp
diff options
context:
space:
mode:
authorwanglei <wanglei@loongson.cn>2023-12-02 14:25:17 +0800
committerwanglei <wanglei@loongson.cn>2023-12-02 14:25:17 +0800
commit66a3e4fafb6eae19764f8a192ca3a116c0554211 (patch)
treee14a2e66ca858d068503ee978ae3ce6b36e183d5 /llvm/tools/llvm-objdump/llvm-objdump.cpp
parent19e068b048591feb8fa66b164669c753090dfd3a (diff)
downloadllvm-66a3e4fafb6eae19764f8a192ca3a116c0554211.zip
llvm-66a3e4fafb6eae19764f8a192ca3a116c0554211.tar.gz
llvm-66a3e4fafb6eae19764f8a192ca3a116c0554211.tar.bz2
[LoongArch] Override TargetLowering::isShuffleMaskLegal
By default, `isShuffleMaskLegal` always returns true, which can result in the expansion of `BUILD_VECTOR` into a `VECTOR_SHUFFLE` node in certain situations. Subsequently, the `VECTOR_SHUFFLE` node is expanded again into a `BUILD_VECTOR`, leading to an infinite loop. To address this, we always return false, allowing the expansion of `BUILD_VECTOR` through the stack.
Diffstat (limited to 'llvm/tools/llvm-objdump/llvm-objdump.cpp')
0 files changed, 0 insertions, 0 deletions