[compiler-rt] [llvm] [msan] Add 32-bit platforms support (PR #109284)

via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 30 14:49:43 PDT 2024


================
@@ -0,0 +1,91 @@
+; RUN: opt < %s -S -passes=msan 2>&1 -msan-origin-base=0x40000000 -msan-and-mask=0x80000000 | FileCheck %s
+
+target datalayout = "E-m:m-i8:8:32-i16:16:32-i32:32-n32-S64"
+target triple = "arm--linux"
+
+define i32 @foo(i32 %guard, ...) {
----------------
k-kashapov wrote:

Thank you.
Yes, this was copied from mips64 and modified to fit the tests.
So, the first step is we open a PR with tests for all the 32bit platforms, but their "target triple" is their respective 64bit counterpart? Did I understand it right?

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


More information about the llvm-commits mailing list