[PATCH] D84551: [GlobalISel] Add G_INTRINSIC_LRINT and translate from llvm.lrint

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 24 13:15:41 PDT 2020


arsenm added a comment.

This will conflict with D84159 <https://reviews.llvm.org/D84159>.

Why does the IR have rint, lrint, and llrint? libm has all 3, but they seem to just differ by the return integer type? Why isn't there just the one rint intrinsic and clang is responsible for picking the right result type?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D84551





More information about the llvm-commits mailing list