-
- Downloads
[PowerPC] Fix materialization of SP float values on Power10
All floating point values in registers are in double precision representation. In order to materialize the correct single precision value, we need to convert the APFloat that represents the value to double precision first. Reviewed By: amyk, NeHuang Differential Revision: https://reviews.llvm.org/D106812
Showing
- llvm/lib/Target/PowerPC/PPCInstrInfo.td 6 additions, 0 deletionsllvm/lib/Target/PowerPC/PPCInstrInfo.td
- llvm/test/CodeGen/PowerPC/constant-pool.ll 2 additions, 2 deletionsllvm/test/CodeGen/PowerPC/constant-pool.ll
- llvm/test/CodeGen/PowerPC/p10-splatImm-CPload-pcrel.ll 8 additions, 8 deletionsllvm/test/CodeGen/PowerPC/p10-splatImm-CPload-pcrel.ll
Please register or sign in to comment