[PATCH] D50705: AMDGPU: Address todo for handling 1/(2 pi)
Stanislav Mekhanoshin via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 14 08:16:26 PDT 2018
rampitec added inline comments.
================
Comment at: lib/Target/AMDGPU/AMDGPUISelLowering.cpp:3457
+
+ return APF.bitwiseIsEqual(KF16) ||
+ APF.bitwiseIsEqual(KF32) ||
----------------
You need to check bitwidth here. 0x3118 is a valid float 1.7612E-41. I assume same is true for double.
https://reviews.llvm.org/D50705
More information about the llvm-commits
mailing list