aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineCopyPropagation.cpp
diff options
context:
space:
mode:
authorKai Sasaki <lewuathe@gmail.com>2023-02-08 11:51:08 +0900
committerKai Sasaki <lewuathe@gmail.com>2023-02-08 12:01:56 +0900
commit3941355d8fee763e99c259ecd02f6fe567583296 (patch)
treece760121b67c32e98ac87a1c76062db79ea51f5b /llvm/lib/CodeGen/MachineCopyPropagation.cpp
parent981218e0f88c78fbf83e45abbae65d09b787f2c1 (diff)
downloadllvm-3941355d8fee763e99c259ecd02f6fe567583296.zip
llvm-3941355d8fee763e99c259ecd02f6fe567583296.tar.gz
llvm-3941355d8fee763e99c259ecd02f6fe567583296.tar.bz2
[mlir][vector] Support 0-D vector when eliding single element reduction
ElideSingleElementReduction causes assertion failure when we give 0-D vector. It's possible to fold the case by using vector.extractelement op instead. It's originally reported in https://github.com/llvm/llvm-project/issues/60193. Reviewed By: dcaballe Differential Revision: https://reviews.llvm.org/D143242
Diffstat (limited to 'llvm/lib/CodeGen/MachineCopyPropagation.cpp')
0 files changed, 0 insertions, 0 deletions