summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/AMDGPU/call.ll
diff options
context:
space:
mode:
authorOliver Stannard <oliver.stannard@arm.com>2016-01-28 10:07:27 +0000
committerOliver Stannard <oliver.stannard@arm.com>2016-01-28 10:07:27 +0000
commitb4b092ea1bf6b41012f0d9b98f8d519e9384c109 (patch)
tree251170034b8d4bcf080b61d8cb2e09194009b083 /llvm/test/CodeGen/AMDGPU/call.ll
parentd3b78430d1112dec60dfe13b349bb629bc960874 (diff)
downloadbcm5719-llvm-b4b092ea1bf6b41012f0d9b98f8d519e9384c109.tar.gz
bcm5719-llvm-b4b092ea1bf6b41012f0d9b98f8d519e9384c109.zip
Add backend dignostic printer for unsupported features
Re-commit of r258951 after fixing layering violation. The related LLVM patch adds a backend diagnostic type for reporting unsupported features, this adds a printer for them to clang. In the case where debug location information is not available, I've changed the printer to report the location as the first line of the function, rather than the closing brace, as the latter does not give the user any information. This also affects optimisation remarks. Differential Revision: http://reviews.llvm.org/D16590 llvm-svn: 259035
Diffstat (limited to 'llvm/test/CodeGen/AMDGPU/call.ll')
-rw-r--r--llvm/test/CodeGen/AMDGPU/call.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/AMDGPU/call.ll b/llvm/test/CodeGen/AMDGPU/call.ll
index e769fd11c28..82e77350ab2 100644
--- a/llvm/test/CodeGen/AMDGPU/call.ll
+++ b/llvm/test/CodeGen/AMDGPU/call.ll
@@ -2,7 +2,7 @@
; RUN: not llc -march=amdgcn -mcpu=tonga -verify-machineinstrs< %s 2>&1 | FileCheck %s
; RUN: not llc -march=r600 -mcpu=cypress < %s 2>&1 | FileCheck %s
-; CHECK: error: unsupported call to function external_function in test_call_external
+; CHECK: in function test_call_external{{.*}}: unsupported call to function external_function
declare i32 @external_function(i32) nounwind
OpenPOWER on IntegriCloud