diff options
author | wanglei <wanglei@loongson.cn> | 2023-12-02 14:25:17 +0800 |
---|---|---|
committer | wanglei <wanglei@loongson.cn> | 2023-12-02 14:25:17 +0800 |
commit | 66a3e4fafb6eae19764f8a192ca3a116c0554211 (patch) | |
tree | e14a2e66ca858d068503ee978ae3ce6b36e183d5 /llvm/tools/llvm-objdump/llvm-objdump.cpp | |
parent | 19e068b048591feb8fa66b164669c753090dfd3a (diff) | |
download | llvm-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