[PATCH] D149260: [AArch64] Emit FNMADD instead of FNEG(FMADD)

Manoj Gupta via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun May 7 16:08:58 PDT 2023


manojgupta added a comment.

This patch is causing a crash in our builds. here is a repro:

  clang -cc1 -triple aarch64-cros-linux-gnu -emit-obj -ffp-contract=fast -ffast-math -O2 -x c crash.txt
  
  double a();
  int b(char *d) {
    _Bool e;
    double exponent;
    char *c = d;
    e = 1;
    do
      exponent = 10.0 * exponent - '0';
    while (c);
    a((e ? -1.0 : 1.0) * exponent);
  }


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D149260



More information about the llvm-commits mailing list