[PATCH] D65244: [AArch64][GlobalISel] Don't try to use GISel if subtarget doesn't have neon or fp.

Jordan Frank via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 16 09:37:20 PST 2020


jwf added a comment.
Herald added a subscriber: danielkiss.

We're seeing a really odd regression with this diff. If you compile the following code with `-target aarch64 -O0 -mgeneral-regs-only`

  #include <stdbool.h>
  bool foo();
  bool ice() {
    return foo();  // <- crashes the compiler during instruction selection
  }

it crashes the compiler. If you instead make it

  #include <stdbool.h>
  bool foo();
  bool ice() {
    bool b = foo();
    return b; 
  }

then it is fine.


Repository:
  rL LLVM

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

https://reviews.llvm.org/D65244



More information about the llvm-commits mailing list