aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-vectorizer.h
diff options
context:
space:
mode:
authorArthur Cohen <arthur.cohen@embecosm.com>2022-08-09 13:50:39 +0200
committerArthur Cohen <arthur.cohen@embecosm.com>2022-08-10 12:36:26 +0200
commit71b5bc8705c789fa61ad0d7858441da861213356 (patch)
treef26b5cbc8647efb7b14ea260b251fa4d275a2bcb /gcc/tree-vectorizer.h
parent349b0f8ed4564fff88fc28bab0733657f2621780 (diff)
downloadgcc-71b5bc8705c789fa61ad0d7858441da861213356.zip
gcc-71b5bc8705c789fa61ad0d7858441da861213356.tar.gz
gcc-71b5bc8705c789fa61ad0d7858441da861213356.tar.bz2
transmute: Fix behavior by always performing the raw copy
This desugars calls to transmute the following way: `transmute::<T1, T2>(value)` -> `*((T2 *) &value)` This always ends up being optimized into a simple copy for small types and a memcpy for larger types. Co-authored-by: philberty <philip.herron@embecosm.com>
Diffstat (limited to 'gcc/tree-vectorizer.h')
0 files changed, 0 insertions, 0 deletions