diff options
author | Matt Arsenault <Matthew.Arsenault@amd.com> | 2018-08-09 22:18:37 +0000 |
---|---|---|
committer | Matt Arsenault <Matthew.Arsenault@amd.com> | 2018-08-09 22:18:37 +0000 |
commit | f2b72fdc01b332836a1d31ce3cb70424c64ad178 (patch) | |
tree | 42f8672be25839f09a7293cf39d97d1e9c464279 /test/CodeGenOpenCL | |
parent | 9a2dafaebbd4adb3af3eae30693d3eb62a1a2503 (diff) |
AMDGPU: Add another missing builtin
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@339395 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGenOpenCL')
-rw-r--r-- | test/CodeGenOpenCL/builtins-amdgcn-ci.cl | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/CodeGenOpenCL/builtins-amdgcn-ci.cl b/test/CodeGenOpenCL/builtins-amdgcn-ci.cl index 023e761433..41275268db 100644 --- a/test/CodeGenOpenCL/builtins-amdgcn-ci.cl +++ b/test/CodeGenOpenCL/builtins-amdgcn-ci.cl @@ -10,3 +10,10 @@ void test_s_dcache_inv_vol() __builtin_amdgcn_s_dcache_inv_vol(); } +// CHECK-LABEL: @test_buffer_wbinvl1_vol +// CHECK: call void @llvm.amdgcn.buffer.wbinvl1.vol() +void test_buffer_wbinvl1_vol() +{ + __builtin_amdgcn_buffer_wbinvl1_vol(); +} + |