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

llvm-svn: 365341

clang/test/CodeGenOpenCL/convergent.cl

index 8bcee10..193d391 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{{[^}]*}} }