aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Analysis/ReachableCode.cpp
diff options
context:
space:
mode:
authorJonas Paulsson <paulsson@linux.vnet.ibm.com>2017-04-05 13:45:37 +0000
committerJonas Paulsson <paulsson@linux.vnet.ibm.com>2017-04-05 13:45:37 +0000
commit38a2da92bccb3c8aec76d5cb70ec6750805a6bc2 (patch)
tree986aac1aa0d87148590a640d2ec2ab725b11f2ee /clang/lib/Analysis/ReachableCode.cpp
parent8090e6f00450afce056760371d3cc46a4176fcfb (diff)
downloadllvm-38a2da92bccb3c8aec76d5cb70ec6750805a6bc2.zip
llvm-38a2da92bccb3c8aec76d5cb70ec6750805a6bc2.tar.gz
llvm-38a2da92bccb3c8aec76d5cb70ec6750805a6bc2.tar.bz2
[DAGCombiner] Don't make a BUILD_VECTOR with operands of illegal type.
When DAGCombiner visits a SIGN_EXTEND_INREG of a BUILD_VECTOR with constant operands, a new BUILD_VECTOR node will be created transformed constants. Llvm-stress found a case where the new BUILD_VECTOR had constant operands of an illegal type, because the (legal) element type is in fact not a legal scalar type. This patch changes this so that the new BUILD_VECTOR has the same operand type as the old one. Review: Eli Friedman, Nirav Dave https://bugs.llvm.org//show_bug.cgi?id=32422 llvm-svn: 299540
Diffstat (limited to 'clang/lib/Analysis/ReachableCode.cpp')
0 files changed, 0 insertions, 0 deletions