aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/Local.cpp
diff options
context:
space:
mode:
authorDavid Green <david.green@arm.com>2020-02-12 20:51:39 +0000
committerDavid Green <david.green@arm.com>2020-02-13 09:56:46 +0000
commit9d4c59754110647f8cc8cdd4fef3114843c91d17 (patch)
tree695c0f28b47a442d87436a9ec707e41502aba47c /llvm/lib/Transforms/Utils/Local.cpp
parent6505124a0c7c648560aad88bac103b0738a8b5f0 (diff)
downloadllvm-9d4c59754110647f8cc8cdd4fef3114843c91d17.zip
llvm-9d4c59754110647f8cc8cdd4fef3114843c91d17.tar.gz
llvm-9d4c59754110647f8cc8cdd4fef3114843c91d17.tar.bz2
[ARM] Fix ReconstructShuffle for bigendian
Simon pointed out that this function is doing a bitcast, which can be incorrect for big endian. That makes the lowering of VMOVN in MVE wrong, but the function is shared between Neon and MVE so both can be incorrect. This attempts to fix things by using the newly added VECTOR_REG_CAST instead of the BITCAST. As it may now be used on Neon, I've added the relevant patterns for it there too. I've also added a quick dag combine for it to remove them where possible. Differential Revision: https://reviews.llvm.org/D74485
Diffstat (limited to 'llvm/lib/Transforms/Utils/Local.cpp')
0 files changed, 0 insertions, 0 deletions