aboutsummaryrefslogtreecommitdiff
path: root/flang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorchenglin.bi <chenglin.bi@linaro.org>2022-10-15 01:16:19 +0800
committerchenglin.bi <chenglin.bi@linaro.org>2022-10-15 01:16:35 +0800
commitc1909d73372e669a44a2aefe82de873c2161cc44 (patch)
tree41d44dba4ec9e67e9c04def2b88ec15e12311ae4 /flang/lib/Frontend/CompilerInvocation.cpp
parentf1f3612417a89f797ec2d6d405dd30d6890bef9e (diff)
downloadllvm-c1909d73372e669a44a2aefe82de873c2161cc44.zip
llvm-c1909d73372e669a44a2aefe82de873c2161cc44.tar.gz
llvm-c1909d73372e669a44a2aefe82de873c2161cc44.tar.bz2
[DAGCombiner] Fix crash for the merge stores with different value type
The crash case comes from #58350. It have two stores, one store is type f32 and the other is v1f32. When we try to merge these two stores on v1f32, the memVT is vector type so the old code will use ISD::EXTRACT_SUBVECTOR for type f32 also then compiler crash. So this patch insert a build_vector for f32 store to generate v1f32 also when memVT is v1f32. Reviewed By: RKSimon Differential Revision: https://reviews.llvm.org/D135954
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions