[PATCH] D79187: [DAGCombiner] fold (fp_round (int_to_fp X)) -> (int_to_fp X)

Sanjay Patel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat May 2 08:59:32 PDT 2020


spatel added a comment.

In D79187#2015327 <https://reviews.llvm.org/D79187#2015327>, @efriedma wrote:

> Actually, it might make sense to do this in instcombine instead of DAGCombine.


Agree - if we can fold this earlier and universally, that would be better. See D79116 <https://reviews.llvm.org/D79116> for a similar transform.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D79187





More information about the llvm-commits mailing list