[PATCH] D72770: Add matrix types extension tests .
Puyan Lotfi via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Aug 15 14:51:43 PDT 2020
plotfi added a comment.
Hi
@fhahn I ran into an llvm_unreachable when building matrix-types-spec.cpp as part of an llvm-test-suite build using -Oz with -flto=thin. I reduced the IR that hit the unreachable to:
target datalayout = "e-m:e-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128"
target triple = "aarch64-unknown-linux-gnu"
define void @f(double* %Res) {
tail call void @llvm.matrix.column.major.store.v275f64(<275 x double> undef, double* align 8 %Res, i64 25, i1 false, i32 25, i32 11)
ret void
}
declare void @llvm.matrix.column.major.store.v275f64(<275 x double>, double* nocapture writeonly, i64, i1 immarg, i32 immarg, i32 immarg)
Repros through llc. Also repro'ed it on godbolt too: https://godbolt.org/z/rrGecn
The unreachable is in llvm::DAGTypeLegalizer::WidenVectorOperand.
Hope this is helpful.
-PL
Repository:
rT test-suite
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D72770/new/
https://reviews.llvm.org/D72770
More information about the llvm-commits
mailing list