[LoongArch] Use getLoc() directly to construct error message
authorWeining Lu <luweining@loongson.cn>
Fri, 11 Mar 2022 03:51:26 +0000 (11:51 +0800)
committerWeining Lu <luweining@loongson.cn>
Fri, 11 Mar 2022 03:55:35 +0000 (11:55 +0800)
commit097035f308d1cdc00d71d3d216564fddffda0be7
tree9b772d7ac300df9e9576e1cafd510b174c7ae27a
parent4a8de2832a2a730f63b71bdf1c1b446285ec5b6f
[LoongArch] Use getLoc() directly to construct error message
llvm/lib/Target/LoongArch/AsmParser/LoongArchAsmParser.cpp