[llvm] [ASAN][AMDGPU] NFC. Add CodeGen tests. (PR #73857)

Vitaly Buka via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 29 15:45:57 PST 2023


================
@@ -0,0 +1,504 @@
+; 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-W64
----------------
vitalybuka wrote:

I am quite confident that llc tests are unnecessary.
You test should reflect what are you going to change in code.

And the change is about
```
const char kAMDGPUBallotName[] = "llvm.amdgcn.ballot.i64";
const char kAMDGPUUnreachableName[] = "llvm.amdgcn.unreachable";
```

which are visible in IR after https://github.com/llvm/llvm-project/pull/72247

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


More information about the llvm-commits mailing list