summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/target/TestTargetAPI.py
diff options
context:
space:
mode:
authorQuentin Colombet <qcolombet@apple.com>2019-11-15 13:24:27 -0800
committerQuentin Colombet <qcolombet@apple.com>2019-11-15 13:54:33 -0800
commit304abde0779ba036bde985b33eabbc6113cf0189 (patch)
tree59a16f5922cc049cfc6a225085444cc01ed45700 /lldb/packages/Python/lldbsuite/test/python_api/target/TestTargetAPI.py
parent47bd7c57e556e3a4db51566d59c2d796ce898c8f (diff)
downloadbcm5719-llvm-304abde0779ba036bde985b33eabbc6113cf0189.tar.gz
bcm5719-llvm-304abde0779ba036bde985b33eabbc6113cf0189.zip
[GISel][CombinerHelper] Add support for scalar type for the result of shuffle vector
LLVM IR of 1-element vectors get lower into scalar in GISel. As a result, shuffle vector may also produce a scalar. This patch teaches the shuffle combiner how to deal with scalars when they are in the destination type of a shuffle vector. For now, we just support the easy case where this can be lowered to a plain copy. For other cases, we leave the shuffle vector as is. This type of IR are seen in O0 pipelines. E.g., as produced with SingleSource/UnitTests/Vector/AArch64/aarch64_neon_intrinsics.c. rdar://problem/57198904
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/target/TestTargetAPI.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud