summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@intel.com>2018-02-22 07:05:27 +0000
committerCraig Topper <craig.topper@intel.com>2018-02-22 07:05:27 +0000
commit1d104b996a70fe82ded7dfbc77e21b042c30943a (patch)
tree4b6b5d23437dca53d6ce1a97bb9568bfa86e735a /clang/lib/Frontend/CompilerInvocation.cpp
parent966642d5bb45363030940b5dbb8083537648ae26 (diff)
downloadbcm5719-llvm-1d104b996a70fe82ded7dfbc77e21b042c30943a.tar.gz
bcm5719-llvm-1d104b996a70fe82ded7dfbc77e21b042c30943a.zip
[DAGCombiner] Add two calls to isVector before making calls to getVectorElementType/getVectorNumElements to avoid an assert.
We looked through a BITCAST, but the bitcast might be a from a scalar type rather than a vector. I don't have a test case. I stumbled onto it while prototyping another change that isn't ready yet. llvm-svn: 325750
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud