[flang-commits] [PATCH] D133561: [flang] Add Sparc support to Optimizer/CodeGen/Target.cpp

Rainer Orth via Phabricator via flang-commits flang-commits at lists.llvm.org
Thu Sep 22 05:38:50 PDT 2022


ro added a comment.

In D133561#3792286 <https://reviews.llvm.org/D133561#3792286>, @rovka wrote:

> This doesn't have any tests, could you please add some? If memory holds, you should be able to add some RUN/CHECK lines here: https://github.com/llvm/llvm-project/blob/main/flang/test/Fir/target-rewrite-complex.fir

The new testcase `PASS`es on `sparcv9-sun-solaris2.11` and `sparc64-unknown-linux-gnu`.  However, for 32-bit sparc it runs into an assertion failure

  Assertion failed: llvm::all_of(types, [](Type t) { return t; }) && "attempting to construct a TypeRange with null types", file /vol/llvm/src/llvm-project/local/mlir/lib/IR/TypeRange.cpp, line 20

and I don't yet see what's wrong.  Any suggestions or do I need to run a full Debug build to investigate?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D133561



More information about the flang-commits mailing list