[LoongArch] Fix wrong VariantKind for MO_GOT_PC_{HI/LO} flags
authorwanglei <wanglei@loongson.cn>
Sat, 15 Oct 2022 09:44:40 +0000 (17:44 +0800)
committerWeining Lu <luweining@loongson.cn>
Sat, 15 Oct 2022 09:45:08 +0000 (17:45 +0800)
commit506e93687140a1be054a825ae08f512d3ebbdbf8
tree2c13fbb50f04820457c23cdb5e60812d13486653
parent98eedd406aa0a9360a8ef3b8bbe85d3d30367fdc
[LoongArch] Fix wrong VariantKind for MO_GOT_PC_{HI/LO} flags

Differential Revision: https://reviews.llvm.org/D135946
llvm/lib/Target/LoongArch/LoongArchMCInstLower.cpp
llvm/test/CodeGen/LoongArch/global-address.ll
llvm/test/CodeGen/LoongArch/tls-models.ll