aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
diff options
context:
space:
mode:
authorBradley Smith <bradley.smith@arm.com>2021-05-06 12:19:38 +0100
committerBradley Smith <bradley.smith@arm.com>2021-05-10 14:43:53 +0100
commit635164b95a8e5d8c0c40804c7ffa3981a82b917a (patch)
tree78e7330b808eb11ee6dc31d848031d85ab2feaf1 /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
parent230953d5771f6f3ce6bf86b8bb6ae4d5eb75a218 (diff)
downloadllvm-635164b95a8e5d8c0c40804c7ffa3981a82b917a.zip
llvm-635164b95a8e5d8c0c40804c7ffa3981a82b917a.tar.gz
llvm-635164b95a8e5d8c0c40804c7ffa3981a82b917a.tar.bz2
[AArch64][SVE] Improve SVE codegen for fixed length BITCAST
Expanding a fixed length operation involves wrapping the operation in an insert/extract subvector pair, as such, when this is done to bitcast we end up with an extract_subvector of a bitcast. DAGCombine tries to convert this into a bitcast of an extract_subvector which restores the initial fixed length bitcast, causing an infinite loop of legalization. As part of this patch, we must make sure the above DAGCombine does not trigger after legalization if the created bitcast would not be legal. Differential Revision: https://reviews.llvm.org/D101990
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions