[PATCH] D47188: Intel SVML calling conventions
Denis Nagorny via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue May 22 01:55:21 PDT 2018
dvnagorny created this revision.
Herald added subscribers: llvm-commits, mgorny, mehdi_amini.
This patch fixes the problem with improper calls to SVML library as it has non-standard calling conventions.
So accordingly it has SVML calling conventions definitions and code to set CC to the vectorized calls.
As SVML provides several implementations for the math functions we also took into consideration fast attribute and select more fast implementation in such case.
Repository:
rL LLVM
https://reviews.llvm.org/D47188
Files:
include/llvm/Analysis/TargetLibraryInfo.h
include/llvm/IR/CMakeLists.txt
include/llvm/IR/CallingConv.h
include/llvm/IR/SVML.td
lib/Analysis/CMakeLists.txt
lib/Analysis/TargetLibraryInfo.cpp
lib/AsmParser/LLLexer.cpp
lib/AsmParser/LLParser.cpp
lib/AsmParser/LLToken.h
lib/IR/AsmWriter.cpp
lib/IR/Verifier.cpp
lib/Target/X86/X86CallingConv.td
lib/Target/X86/X86ISelLowering.cpp
lib/Target/X86/X86RegisterInfo.cpp
lib/Target/X86/X86Subtarget.h
lib/Transforms/Vectorize/LoopVectorize.cpp
test/Transforms/LoopVectorize/X86/svml-calls.ll
utils/TableGen/CMakeLists.txt
utils/TableGen/SVMLEmitter.cpp
utils/TableGen/TableGen.cpp
utils/TableGen/TableGenBackends.h
utils/vim/syntax/llvm.vim
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D47188.147963.patch
Type: text/x-patch
Size: 28793 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180522/d13935c0/attachment-0001.bin>
More information about the llvm-commits
mailing list