[PATCH] D158998: AMDGPU: Use pown instead of pow if known integral

Stanislav Mekhanoshin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 28 10:40:07 PDT 2023


rampitec added inline comments.


================
Comment at: llvm/lib/Target/AMDGPU/AMDGPULibFunc.cpp:909
+    case 8:
+      P.ArgType = Signed ? AMDGPULibFunc::U8 : AMDGPULibFunc::I8;
+      break;
----------------
I8 if signed, not U8.


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

https://reviews.llvm.org/D158998



More information about the llvm-commits mailing list