Skip to content
Commit 080f6976 authored by Alex Bradbury's avatar Alex Bradbury
Browse files

Use report_fatal_error for unsupported calling conventions

The calling convention can be specified by the user in IR. Failing to support 
a particular calling convention isn't a programming error, and so relying on 
llvm_unreachable to catch and report an unsupported calling convention is not 
appropriate.

Differential Revision: https://reviews.llvm.org/D36830

llvm-svn: 311435
parent bc7d817c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment