[all-commits] [llvm/llvm-project] 594a89: [FPEnv][ARM] Don't call mutateStrictFPToFP when lo...

john-brawn-arm via All-commits all-commits at lists.llvm.org
Mon Feb 17 10:21:06 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 594a89f7270da74c89f2321432bc6a7135773fa5
      https://github.com/llvm/llvm-project/commit/594a89f7270da74c89f2321432bc6a7135773fa5
  Author: John Brawn <john.brawn at arm.com>
  Date:   2020-02-17 (Mon, 17 Feb 2020)

  Changed paths:
    M llvm/lib/Target/ARM/ARMISelLowering.cpp
    M llvm/test/CodeGen/ARM/fp-intrinsics.ll

  Log Message:
  -----------
  [FPEnv][ARM] Don't call mutateStrictFPToFP when lowering

mutateStrictFPToFP can delete the node and replace it with another with the same
value which can later cause problems, and returning the result of
mutateStrictFPToFP doesn't work because SelectionDAGLegalize expects that the
returned value has the same number of results as the original. Instead handle
things by doing the mutation manually.

Differential Revision: https://reviews.llvm.org/D74726




More information about the All-commits mailing list