aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/FileCheck/FileCheck.cpp
diff options
context:
space:
mode:
authorNemanja Ivanovic <nemanja.i.ibm@gmail.com>2021-04-20 06:25:18 -0500
committerNemanja Ivanovic <nemanja.i.ibm@gmail.com>2021-04-20 07:29:47 -0500
commit03e7fefff8caa6891cbb510283fa8c40247a9b0c (patch)
tree2869b004aa891e1a1bfeb6fa990490cd7ce1bc76 /llvm/lib/FileCheck/FileCheck.cpp
parent1a3f88658a02be6be5224fca9d9123b79958f289 (diff)
downloadllvm-03e7fefff8caa6891cbb510283fa8c40247a9b0c.zip
llvm-03e7fefff8caa6891cbb510283fa8c40247a9b0c.tar.gz
llvm-03e7fefff8caa6891cbb510283fa8c40247a9b0c.tar.bz2
[PowerPC] Canonicalize shuffles on big endian targets as well
Extend shuffle canonicalization and conversion of shuffles fed by vectorized scalars to big endian subtargets. For big endian subtargets, loads and direct moves of scalars into vector registers put the data in the correct element for SCALAR_TO_VECTOR if the data type is 8 bytes wide. However, if the data type is narrower, the value still ends up in the wrong place - althouth a different wrong place than on little endian targets. This patch extends the combine that keeps values where they are if they feed a shuffle to big endian targets. Differential revision: https://reviews.llvm.org/D100478
Diffstat (limited to 'llvm/lib/FileCheck/FileCheck.cpp')
0 files changed, 0 insertions, 0 deletions