[Triple] Add llvm::Triple::isLoongArch{32,64}
authorWeining Lu <luweining@loongson.cn>
Mon, 17 Jul 2023 12:34:32 +0000 (20:34 +0800)
committerWeining Lu <luweining@loongson.cn>
Mon, 17 Jul 2023 12:34:35 +0000 (20:34 +0800)
commita926a2660a7f1942261bb15a0553d7f3999456d1
treeeaa43f1b4c203817aee4f51601e5e734a7e3386d
parenta4f4d82c35b80b681687b545200456e79a82d9c2
[Triple] Add llvm::Triple::isLoongArch{32,64}

Reviewed By: MaskRay

Differential Revision: https://reviews.llvm.org/D155163
clang/lib/Driver/ToolChains/Arch/LoongArch.cpp
llvm/include/llvm/TargetParser/Triple.h
llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp
llvm/unittests/TargetParser/TripleTest.cpp