]> granicus.if.org Git - clang/commitdiff
Fix regression of test/CodeGenOpenCL/address-spaces.cl on ppc
authorYaxun Liu <Yaxun.Liu@amd.com>
Fri, 13 Oct 2017 13:53:06 +0000 (13:53 +0000)
committerYaxun Liu <Yaxun.Liu@amd.com>
Fri, 13 Oct 2017 13:53:06 +0000 (13:53 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@315678 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGenOpenCL/address-spaces.cl

index f78fcf6f8c29cb6d40124358d90688874d281fae..cb641f593711689eb2191f9bc3d4740ccf9a0613 100644 (file)
@@ -102,7 +102,8 @@ void test_struct() {
 // SPIR-LABEL: define void @test_void_par()
 void test_void_par(void) {}
 
-// SPIR-LABEL: define i32 @test_func_return_type()
+// On ppc64 returns signext i32.
+// SPIR-LABEL: define{{.*}} i32 @test_func_return_type()
 int test_func_return_type(void) {
   return 0;
 }