aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineOperand.cpp
diff options
context:
space:
mode:
authorWenlei He <aktoon@gmail.com>2020-09-03 11:52:14 -0700
committerWenlei He <aktoon@gmail.com>2020-09-03 11:52:29 -0700
commitd1be928d23fe6b6770be007c7fd0753ca4d17516 (patch)
treeb29d5e36f59645ed86f6b13f6d55f1a4a3bd5102 /llvm/lib/CodeGen/MachineOperand.cpp
parentb2e65cf9501d791429e80cba8a9b8ed3d3f193f8 (diff)
downloadllvm-d1be928d23fe6b6770be007c7fd0753ca4d17516.zip
llvm-d1be928d23fe6b6770be007c7fd0753ca4d17516.tar.gz
llvm-d1be928d23fe6b6770be007c7fd0753ca4d17516.tar.bz2
SVML support for log2
Although LLVM supports vectorization of loops containing log2, it did not support using SVML implementation of it. Added support so that when clang is invoked with -fveclib=SVML now an appropriate SVML library log2 implementation will be invoked. Follow up on: https://reviews.llvm.org/D77114 Tests: Added unit tests to svml-calls.ll, svml-calls-finite.ll. Can be run with llvm-lint. Created a simple c++ file that tests log2, and used clang+ to build it, and output final assembly. Reviewed By: wenlei, craig.topper Differential Revision: https://reviews.llvm.org/D86730
Diffstat (limited to 'llvm/lib/CodeGen/MachineOperand.cpp')
0 files changed, 0 insertions, 0 deletions