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

Jay Foad via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 14 02:04:17 PDT 2022


foad added a comment.

> Widening a G_FCONSTANT by extending and then generating G_FPTRUNC doesn't produce the same result all the time.

That's only a problem if you care about the bit pattern of NaNs, right? It should be OK for all non-NaN values.


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