[PATCH] D129743: [GlobalISel] Change widenScalar of G_FCONSTANT to mutate into G_CONSTANT.

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 14 10:39:45 PDT 2022


arsenm accepted this revision.
arsenm added a comment.
This revision is now accepted and ready to land.

In D129743#3652626 <https://reviews.llvm.org/D129743#3652626>, @aemerson wrote:

> I added a couple of tests but not exactly sure what you meant by "folds through fpext". I guess at the moment we don't have any constant folding that will transform G_FPEXT(G_CONSTANT) -> wide G_CONSTANT.

Yes that's what I mean (although I guess that could turn back into G_FCONSTANT)


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D129743



More information about the llvm-commits mailing list