[PATCH] D31946: [legalize-types] Make softening result use a single map for replacements.

Chih-Hung Hsieh via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 13 11:30:41 PDT 2017


chh added a comment.

F3221271: c.zip <https://reviews.llvm.org/F3221271> 
The attached c.zip contains a test program s_fdim-45daeb.c,
generated from Android  bionic/libm/upstream-freebsd/lib/msun/src/s_fdim.c
The compilation command in c.sh failed with this patch.
Clang aborted with the following message:

  fatal error: error in backend: Cannot select: t7: f128 = fsub t2, t4
    t2: f128,ch = CopyFromReg t0, Register:f128 %vreg2
      t1: f128 = Register %vreg2
    t4: f128,ch = CopyFromReg t0, Register:f128 %vreg3
      t3: f128 = Register %vreg3
  In function: fdiml

I think the change to COPY_TO_REG is causing the error.


https://reviews.llvm.org/D31946





More information about the llvm-commits mailing list