[PATCH] D112827: [AMDGPU][GlobalISel] Fold G_FNEG above when users cannot fold mods

Mirko Brkusanin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 29 09:16:24 PDT 2021


mbrkusanin added a comment.

Following opcodes are not expected to appear after legalizer but I guess there is no harm keeping them.

  G_FNEARBYINT:          // fails in legalizer (can be lowerd to frint)
  G_INTRINSIC_ROUND:     // legalized into other instructions
  G_INTRINSIC_ROUNDEVEN: // legalized into rint + some other instructions
  G_FSIN:                // lowered into amdgcn_sin


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D112827



More information about the llvm-commits mailing list