[PATCH] D113888: [SDAG] Use UnknownSize for masked load/store MMO size

Bing Yu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 25 00:01:17 PST 2021


yubing added a comment.

Hi, @dmgreen With this patch, the llc command crashed. Would you take a look?
llc -mcpu=core-avx2 main.ll

  define void @main() unnamed_addr #0 {
  entry:
    %P.i150.i.i = alloca [3 x [3 x double]], align 16
    %0 = bitcast [3 x [3 x double]]* %P.i150.i.i to <8 x double>*
    call void @llvm.masked.store.v8f64.p0v8f64(<8 x double> zeroinitializer, <8 x double>* %0, i32 8, <8 x i1> <i1 true, i1 true, i1 true, i1 true, i1 true, i1 true, i1 false, i1 false>)
    ret void
  }
  
  ; Function Attrs: argmemonly nofree nosync nounwind willreturn writeonly
  declare void @llvm.masked.store.v8f64.p0v8f64(<8 x double>, <8 x double>*, i32 immarg, <8 x i1>)


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D113888/new/

https://reviews.llvm.org/D113888



More information about the llvm-commits mailing list