Interesting. I can replicate that. This one works:
sw = Compile[{s}, s^2.]; ListLogPlot[Table[sw[x], {x, 0., 1., 0.01}], Joined -> True]
Cheers, Marco