[LoongArch] Refine the condition to return Match_RequiresAMORdDifferRkRj in AsmParser...
authorWeining Lu <luweining@loongson.cn>
Wed, 11 Jan 2023 09:11:40 +0000 (17:11 +0800)
committerWeining Lu <luweining@loongson.cn>
Wed, 11 Jan 2023 09:16:21 +0000 (17:16 +0800)
commit43cf2f8103f9ef0f292c2cd12e89c55406182e1a
tree698ae51d420d56eccce85f4b409d1cf3e4c0fba7
parentb008f6356513f14967354b33f2bb8f1dcae2eef5
[LoongArch] Refine the condition to return Match_RequiresAMORdDifferRkRj in AsmParser. NFC

This can suppress compilation warning like `enumerated mismatch in conditional expression`.

See:
https://lab.llvm.org/staging/#/builders/236/builds/645/steps/6/logs/warnings__1_
llvm/lib/Target/LoongArch/AsmParser/LoongArchAsmParser.cpp