mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-25 06:56:06 +00:00

This patch updates test files after D105169. Autogenerated test codes are changed by `utils/update_cc_test_checks.py,` and non-autogenerated test codes are changed as follows: (1) I wrote a python script that (partially) updates the tests using regex: {F18594904} The script is not perfect, but I believe it gives hints about which patterns are updated to have `noundef` attached. (2) The remaining tests are updated manually. Reviewed By: eugenis Differential Revision: https://reviews.llvm.org/D108453
15 lines
417 B
Common Lisp
Executable File
15 lines
417 B
Common Lisp
Executable File
// REQUIRES: amdgpu-registered-target
|
|
// RUN: %clang_cc1 -triple amdgcn-unknown-unknown -S -emit-llvm -o - %s | FileCheck %s
|
|
// CHECK: define{{.*}} amdgpu_kernel void @test_call_kernel(i32 addrspace(1)* nocapture noundef %out)
|
|
// CHECK: store i32 4, i32 addrspace(1)* %out, align 4
|
|
|
|
kernel void test_kernel(global int *out)
|
|
{
|
|
out[0] = 4;
|
|
}
|
|
|
|
__kernel void test_call_kernel(__global int *out)
|
|
{
|
|
test_kernel(out);
|
|
}
|