[PATCH] D79775: [AsmPrinter] Handle foldable FP constant exprs in initializers.

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 12 14:33:00 PDT 2020


efriedma added a comment.

> the constant actually comes from aarch64-promote-const

That looks like a bug: aarch64-promote-constant is sticking constants in global variables without checking whether we can actually lower them.  Probably it should be calling Constant::needsRelocation() or something like that.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D79775





More information about the llvm-commits mailing list