Current PowerPC backend fails to compile the attached test case, hitting an assertion error
llvm-project/llvm/include/llvm/Support/Alignment.h:78: llvm::Align::Align(uint64_t): Assertion `Value > 0 && "Value must not be 0"' failed.
PowerPC backend wants to emit such code sequence
fctiwz ... stfiwx ... lfiwax ...
for LLVM IR
%b = fptosi float %a to i32 %c = sitofp i32 %b to float
on targets without VSX support(e.g. building a linux kernel). When emitting stfiwx, Alignment of ReuseLoadInfo is supposed to be updated in PPCTargetLowering::LowerFP_TO_INTForReuse so that following emit of lfiwax can know the alignment.