[llvm] [ASAN][AMDGPU] Make address sanitizer checks more efficient for the divergent target. (PR #72247)

Valery Pykhtin via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 29 07:04:47 PST 2023


================
@@ -0,0 +1,231 @@
+; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 3
+; RUN: opt  -passes=asan -S < %s | FileCheck %s --check-prefix=OPT
+; RUN: opt < %s -passes='asan,default<O3>' -o - | llc -O3 -mtriple=amdgcn-hsa-amdhsa -mcpu=gfx90a -o - | FileCheck %s --check-prefix=LLC
----------------
vpykhtin wrote:

@vitalybuka do you think this is acceptable way to test ASAN functionality on the codegen level? I mean that it's a bit artificial, maybe it should be a clang test instead?

cc @arsenm

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


More information about the llvm-commits mailing list