[all-commits] [llvm/llvm-project] bfbe53: [msan] Add handlePairwiseShadowOrIntrinsic and use...

Thurston Dang via All-commits all-commits at lists.llvm.org
Tue Feb 11 19:13:40 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bfbe5319a8d0e96d90687be009b77a21820b91f8
      https://github.com/llvm/llvm-project/commit/bfbe5319a8d0e96d90687be009b77a21820b91f8
  Author: Thurston Dang <thurston at google.com>
  Date:   2025-02-11 (Tue, 11 Feb 2025)

  Changed paths:
    M llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
    M llvm/test/Instrumentation/MemorySanitizer/AArch64/arm64-vadd.ll
    M llvm/test/Instrumentation/MemorySanitizer/AArch64/arm64-vshift.ll

  Log Message:
  -----------
  [msan] Add handlePairwiseShadowOrIntrinsic and use it to handle Arm NEON pairwise add (#126008)

This patch adds a function, handlePairwiseShadowOrIntrinsic that ORs
pairs of adjacent shadow values; this is suitable for propagating shadow
for 1- or 2-vector intrinsics that combine adjacent fields. It then
applies handlePairwiseShadowOrIntrinsic to Arm NEON pairwise add:
llvm.aarch64.neon.{addhn, raddhn} (currently incorrectly handled) and
llvm.aarch64.neon.{saddlp, uaddlp} (currently suboptimally handled).

Updates the tests from https://github.com/llvm/llvm-project/pull/125820.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list