From 0ea7666767cbc2c89d2fbd5717a5bd98f53d3f7f Mon Sep 17 00:00:00 2001 From: Yaxun Liu Date: Fri, 13 Oct 2017 13:53:06 +0000 Subject: [PATCH] Fix regression of test/CodeGenOpenCL/address-spaces.cl on ppc git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@315678 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGenOpenCL/address-spaces.cl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/CodeGenOpenCL/address-spaces.cl b/test/CodeGenOpenCL/address-spaces.cl index f78fcf6f8c..cb641f5937 100644 --- a/test/CodeGenOpenCL/address-spaces.cl +++ b/test/CodeGenOpenCL/address-spaces.cl @@ -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; } -- 2.50.1