[PATCH] D134862: [AMDGPU][GISel] Update `isCanonicalized`

Pierre van Houtryve via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 29 06:53:39 PDT 2022


Pierre-vh added inline comments.


================
Comment at: llvm/lib/Target/AMDGPU/SIISelLowering.cpp:10231
+    case Intrinsic::amdgcn_rsq:
+    case Intrinsic::amdgcn_rsq_clamp:
+    case Intrinsic::amdgcn_rsq_legacy:
----------------
arsenm wrote:
> amdgcn_sqrt, fmed3, fmad_ftz, sin, cos, log, log_clamp
fmad_ftz was already there, log doesn't seem to exit as an intrinsic but it's an instruction so I it + the variants:
```
  case AMDGPU::G_FLOG:
  case AMDGPU::G_FLOG2:
  case AMDGPU::G_FLOG10:
```


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D134862



More information about the llvm-commits mailing list