When an exp2() or or pow() is replaced by a call to ldexp(), the second integer argument should have the signext or zeroext attribute set (depending
on the conversion instruction opcode preceding the original call).
This was discovered by the SystemZ multistage bot: http://lab.llvm.org:8011/#/builders/8, where wrong code resulted when this extension was not performed.