[llvm] [msan] Add handleIntrinsicByApplyingToShadow; support NEON tbl (PR #114490)

Thurston Dang via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 31 16:47:03 PDT 2024


================
@@ -0,0 +1,784 @@
+; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --tool build/bin/opt --version 2
+; Test memory sanitizer instrumentation for Arm NEON tbl instructions.
+;
+; RUN: opt < %s -passes=msan -S | FileCheck %s
+;
+; Forked from llvm/test/CodeGen/AArch64/arm64-tbl.ll
+
+target datalayout = "e-m:e-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128"
+target triple = "aarch64--linux-android9001"
+
+; -----------------------------------------------------------------------------------------------------------------------------------------------
+
+define <8 x i8> @tbl1_8b(<16 x i8> %A, <8 x i8> %B) nounwind sanitize_memory {
----------------
thurstond wrote:

I will rebase on top of https://github.com/llvm/llvm-project/pull/114462

https://github.com/llvm/llvm-project/pull/114490


More information about the llvm-commits mailing list