[PATCH] D71445: [ConstantFold][SVE] Fix constant folding for scalable vector binary operations.
Huihui Zhang via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Dec 12 17:02:58 PST 2019
huihuiz added a comment.
Similar issue , current upstream crash at void llvm::Value::doRAUW(llvm::Value *, llvm::Value::ReplaceMetadataUses): Assertion `New->getType() == getType() && "replaceAllUses of value with new value of different type!"' failed.
opt -S -constprop add.ll -o -
add.ll
define <vscale x 8 x i16> @add() {
%r = add <vscale x 8 x i16> undef, undef
ret <vscale x 8 x i16> %r
}
I will also be moving other sve tests under test/Analysis/ConstantFolding/ to vscale.ll
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D71445/new/
https://reviews.llvm.org/D71445
More information about the llvm-commits
mailing list