mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-19 01:34:32 +00:00
a4b8b4ccc9
This patch disables memory-instruction vectorization for types that need padding bytes, e.g., x86_fp80 has 10 bytes store size with 6 bytes padding in darwin on x86_64. Because the load/store vectorization is performed by the bit casting to a packed vector, which has incompatible memory layout due to the lack of padding bytes, the present vectorizer produces inconsistent result for memory instructions of those types. This patch checks an equality of the AllocSize of a scalar type and allocated size for each vector element, to ensure that there is no padding bytes and the array can be read/written using vector operations. Patch by Daisuke Takahashi! Fixes PR15758. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@180196 91177308-0d34-0410-b5e6-96231b3b80d8 |
||
---|---|---|
.. | ||
avx1.ll | ||
constant-vector-operand.ll | ||
conversion-cost.ll | ||
cost-model.ll | ||
gcc-examples.ll | ||
illegal-parallel-loop-uniform-write.ll | ||
lit.local.cfg | ||
min-trip-count-switch.ll | ||
no-vector.ll | ||
parallel-loops-after-reg2mem.ll | ||
parallel-loops.ll | ||
reduction-crash.ll | ||
small-size.ll | ||
struct-store.ll | ||
unroll_selection.ll | ||
unroll-small-loops.ll | ||
vector_ptr_load_store.ll | ||
vector-scalar-select-cost.ll | ||
x86_fp80-vector-store.ll |