The following seems unexpected:
using FFTW, LinearAlgebra
y = rand(4,4)
p = plan_rfft(y)
x = p * y
x_orig = copy(x)
ldiv!(y,p,x)
x == x_orig # unexpectedly returns false
This only happens with FFTW and not MKL, only with 2D and real FFTs, and only with ldiv! not mul!.