mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-27 13:30:05 +00:00
66d1fa6f4b
This adds a llvm.copysign intrinsic; We already have Libfunc recognition for copysign (which is turned into the FCOPYSIGN SDAG node). In order to autovectorize calls to copysign in the loop vectorizer, we need a corresponding intrinsic as well. In addition to the expected changes to the language reference, the loop vectorizer, BasicTTI, and the SDAG builder (the intrinsic is transformed into an FCOPYSIGN node, just like the function call), this also adds FCOPYSIGN to a few lists in LegalizeVector{Ops,Types} so that vector copysigns can be expanded. In TargetLoweringBase::initActions, I've made the default action for FCOPYSIGN be Expand for vector types. This seems correct for all in-tree targets, and I think is the right thing to do because, previously, there was no way to generate vector-values FCOPYSIGN nodes (and most targets don't specify an action for vector-typed FCOPYSIGN). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188728 91177308-0d34-0410-b5e6-96231b3b80d8 |
||
---|---|---|
.. | ||
ARM | ||
X86 | ||
12-12-11-if-conv.ll | ||
2012-10-20-infloop.ll | ||
2012-10-22-isconsec.ll | ||
bsd_regex.ll | ||
bzip_reverse_loops.ll | ||
calloc.ll | ||
cast-induction.ll | ||
cpp-new-array.ll | ||
dbg.value.ll | ||
debugloc.ll | ||
flags.ll | ||
float-reduction.ll | ||
funcall.ll | ||
gcc-examples.ll | ||
global_alias.ll | ||
hoist-loads.ll | ||
i8-induction.ll | ||
if-conv-crash.ll | ||
if-conversion-edgemasks.ll | ||
if-conversion-nest.ll | ||
if-conversion-reduction.ll | ||
if-conversion.ll | ||
increment.ll | ||
induction_plus.ll | ||
induction.ll | ||
infiniteloop.ll | ||
intrinsic.ll | ||
lcssa-crash.ll | ||
lifetime.ll | ||
memdep.ll | ||
metadata-unroll.ll | ||
metadata-width.ll | ||
minmax_reduction.ll | ||
multiple-address-spaces.ll | ||
no_idiv_reduction.ll | ||
no_int_induction.ll | ||
no_outside_user.ll | ||
nofloat.ll | ||
non-const-n.ll | ||
nsw-crash.ll | ||
phi-hang.ll | ||
ptr_loops.ll | ||
read-only.ll | ||
reduction.ll | ||
reverse_induction.ll | ||
reverse_iter.ll | ||
runtime-check-readonly.ll | ||
runtime-check.ll | ||
runtime-limit.ll | ||
safegep.ll | ||
same-base-access.ll | ||
scalar-select.ll | ||
scev-exitlim-crash.ll | ||
simple-unroll.ll | ||
small-loop.ll | ||
start-non-zero.ll | ||
store-shuffle-bug.ll | ||
struct_access.ll | ||
undef-inst-bug.ll | ||
value-ptr-bug.ll | ||
vectorize-once.ll | ||
write-only.ll |