[PATCH] D151141: [CodeGen] Fix crash in CodeGenPrepare::optimizeGatherScatterInst.

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 22 13:36:45 PDT 2023


craig.topper added inline comments.


================
Comment at: llvm/test/CodeGen/X86/masked-gather-struct-gep.ll:22
+  %gather = call <4 x float> @llvm.masked.gather.v4f32.v4p0(<4 x ptr> %gep, i32 0, <4 x i1> zeroinitializer, <4 x float> zeroinitializer)
+  ret void
+}
----------------
Should we return %gather so its not trivially dead?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D151141



More information about the llvm-commits mailing list