forked from OSchip/llvm-project
320af6b138
Background: Call to library arithmetic functions for div is emitted by the compiler and it set wrong “C” calling convention for calls to these functions, whereas library functions are declared with `spir_function` calling convention. InstCombine optimization replaces such calls with “unreachable” instruction. It looks like clang lacks SPIRABIInfo class which should specify default calling conventions for “system” function calls. SPIR supports only SPIR_FUNC and SPIR_KERNEL calling convention. Reviewers: Erich Keane, Anastasia Differential Revision: https://reviews.llvm.org/D92721 |
||
---|---|---|
.. | ||
address-space-castoperators.cpp | ||
address-space-deduction.cl | ||
address-space-deduction2.cl | ||
addrspace-conversion.cl | ||
addrspace-derived-base.cl | ||
addrspace-of-this.cl | ||
addrspace-operators.cl | ||
addrspace-references.cl | ||
addrspace-with-class.cl | ||
addrspace_cast.cl | ||
atexit.cl | ||
constexpr.cl | ||
global_init.cl | ||
local_addrspace_init.cl | ||
method-overload-address-space.cl | ||
template-address-spaces.cl |