[PATCH] D158587: [sanitizer][msan] VarArgHelper for loongarch64

Vitaly Buka via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 5 19:40:16 PDT 2023


vitalybuka added inline comments.


================
Comment at: llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp:5840
+struct VarArgLoongArch64Helper : public VarArgHelper {
+  Function &F;
+  MemorySanitizer &MS;
----------------
It looks like exact clone of Mips64 helper.
Only `      if (TargetTriple.getArch() == Triple::mips64) {` is missing

Why not just use Mips64 then?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D158587/new/

https://reviews.llvm.org/D158587



More information about the llvm-commits mailing list