[PATCH] D73753: [ConstantFold][SVE] Fix constant folding for scalable vector compare instruction.
Huihui Zhang via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 30 16:50:46 PST 2020
huihuiz added a comment.
current upstream crash at : llvm/lib/IR/Value.cpp:404: void llvm::Value::doRAUW(llvm::Value *, llvm::Value::ReplaceMetadataUses): Assertion `New->getType() == getType() && "replaceAllUses of value with new value of different type!"' failed.
take test.ll
define <vscale x 4 x i1> @icmp_undef() {
%r = icmp eq <vscale x 4 x i32> undef, undef
ret <vscale x 4 x i1> %r
}
run : ./bin/opt -S -constprop t.ll -o -
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D73753/new/
https://reviews.llvm.org/D73753
More information about the llvm-commits
mailing list