Skip to content
Commit 16bc07ac authored by Matt Arsenault's avatar Matt Arsenault
Browse files

AMDGPU: Select f64 fmul by negative power of 2 to ldexp

Select fmul x, -K -> ldexp(-x, log2(fabsK))
Select fmul fabs(x), -K -> ldexp(-|x|, log2(fabsK))

https://reviews.llvm.org/D158173
parent 4c4ff503
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment