[all-commits] [llvm/llvm-project] 824a85: [AArch64] Don't promote constants with float Const...

Florian Hahn via All-commits all-commits at lists.llvm.org
Wed May 13 15:39:07 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 824a8593328cb076e509f9a03e80ac681e52605e
      https://github.com/llvm/llvm-project/commit/824a8593328cb076e509f9a03e80ac681e52605e
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2020-05-13 (Wed, 13 May 2020)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64PromoteConstant.cpp
    A llvm/test/CodeGen/AArch64/arm64-promote-const-complex-initializers.ll

  Log Message:
  -----------
  [AArch64] Don't promote constants with float ConstantExpr.

Currently the AsmPrinter cannot emit some floating point constant
expressions in global initializers. Avoid generating them.

Reviewers: dmgreen, t.p.northover, arsenm, efriedma, Gerolf

Reviewed By: efriedma

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




More information about the All-commits mailing list