]> granicus.if.org Git - clang/commitdiff
Add nofree attribute to CodeGenOpenCL/convergent.cl test
authorBrian Homerding <homerdin@gmail.com>
Mon, 8 Jul 2019 16:24:10 +0000 (16:24 +0000)
committerBrian Homerding <homerdin@gmail.com>
Mon, 8 Jul 2019 16:24:10 +0000 (16:24 +0000)
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

test/CodeGenOpenCL/convergent.cl

index 8bcee105747b127892e41da5efb4514a31dbd11d..193d391ced207532d9c2783f740fca6f80eb1f17 100644 (file)
@@ -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{{[^}]*}} }