From: Brian Homerding Date: Mon, 8 Jul 2019 16:24:10 +0000 (+0000) Subject: Add nofree attribute to CodeGenOpenCL/convergent.cl test X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1e2d469d844f91553ec5c60ecb2a0335fcda3950;p=clang Add nofree attribute to CodeGenOpenCL/convergent.cl test The revision at https://reviews.llvm.org/rL365336 added inference of the nofree attribute. This revision updates the test to reflect this. Differential Revision: https://reviews.llvm.org/D49165 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@365341 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CodeGenOpenCL/convergent.cl b/test/CodeGenOpenCL/convergent.cl index 8bcee10574..193d391ced 100644 --- a/test/CodeGenOpenCL/convergent.cl +++ b/test/CodeGenOpenCL/convergent.cl @@ -139,7 +139,7 @@ kernel void assume_convergent_asm() __asm__ volatile("s_barrier"); } -// CHECK: attributes #0 = { noinline norecurse nounwind " +// CHECK: attributes #0 = { nofree noinline norecurse nounwind " // CHECK: attributes #1 = { {{[^}]*}}convergent{{[^}]*}} } // CHECK: attributes #2 = { {{[^}]*}}convergent{{[^}]*}} } // CHECK: attributes #3 = { {{[^}]*}}convergent noduplicate{{[^}]*}} }