aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/DebugInfo/Symbolize/SymbolizableObjectFile.cpp
diff options
context:
space:
mode:
authorPirama Arumuga Nainar <pirama@google.com>2020-03-17 09:50:32 -0700
committerPirama Arumuga Nainar <pirama@google.com>2020-03-20 09:20:16 -0700
commitedcfb47ff6d5562e22207f364c65f84302aa346b (patch)
tree881c90bec45ae8b8ad0b7baa1323a706906107ef /llvm/lib/DebugInfo/Symbolize/SymbolizableObjectFile.cpp
parent56122fcd641ae71de662575b0272994ef3a942b1 (diff)
downloadllvm-edcfb47ff6d5562e22207f364c65f84302aa346b.zip
llvm-edcfb47ff6d5562e22207f364c65f84302aa346b.tar.gz
llvm-edcfb47ff6d5562e22207f364c65f84302aa346b.tar.bz2
[DAGCombiner] Do not fold truncate(build_vector(..)) if it creates an illegal type
Summary: It can be the case that a vector type is legal but the corresponding scalar type is not legal for an architecture (i8 vs. v16i8 on AArch64). Check if the scalar type created when folding truncate(build_vector(x,y)) -> build_vector(truncate(x),truncate(y)) is legal if we are running after the type legalizer. This fixes https://github.com/android/ndk/issues/1207. Reviewers: RKSimon, srhines Subscribers: kristof.beyls, hiraditya, danielkiss, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D76312
Diffstat (limited to 'llvm/lib/DebugInfo/Symbolize/SymbolizableObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions