summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenOpenCL
diff options
context:
space:
mode:
authorBrian Homerding <homerdin@gmail.com>2019-07-08 16:24:10 +0000
committerBrian Homerding <homerdin@gmail.com>2019-07-08 16:24:10 +0000
commite6ba22542f28396aa13bd37b42419e2028288a7f (patch)
treee70fa05e450cfaf78a3bcf694e735aa1d2ea50a4 /clang/test/CodeGenOpenCL
parentd6fd354f3f1f4121ab7f6de9ecbb9e4a87f325ea (diff)
downloadbcm5719-llvm-e6ba22542f28396aa13bd37b42419e2028288a7f.tar.gz
bcm5719-llvm-e6ba22542f28396aa13bd37b42419e2028288a7f.zip
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 llvm-svn: 365341
Diffstat (limited to 'clang/test/CodeGenOpenCL')
-rw-r--r--clang/test/CodeGenOpenCL/convergent.cl2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/CodeGenOpenCL/convergent.cl b/clang/test/CodeGenOpenCL/convergent.cl
index 8bcee105747..193d391ced2 100644
--- a/clang/test/CodeGenOpenCL/convergent.cl
+++ b/clang/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{{[^}]*}} }
OpenPOWER on IntegriCloud