[PATCH] D120150: Constant folding of llvm.amdgcn.trig.preop

Ravi Korsa via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 18 23:31:04 PST 2022


Ravi added a comment.

In D120150#3332632 <https://reviews.llvm.org/D120150#3332632>, @b-sumner wrote:

> In D120150#3332613 <https://reviews.llvm.org/D120150#3332613>, @foad wrote:
>
>>> Ran the test over the entire range of double floating-point.
>>
>> Just curious: how long does it take to test all 2^64 inputs?
>
> The only dependence is on the exponent so 2K inputs is sufficient.

Yes right. That would have greatly reduced the run times. Missed out, didn't give a thought in that direction.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D120150



More information about the llvm-commits mailing list