[PowerPC] Fix issue with strict float to int conversion.
authorStefan Pintilie <stefanp@ca.ibm.com>
Wed, 19 Jan 2022 15:33:18 +0000 (09:33 -0600)
committerStefan Pintilie <stefanp@ca.ibm.com>
Wed, 19 Jan 2022 16:57:22 +0000 (10:57 -0600)
commit1324bb29f7ce9d29b82c66cb744ff41b5d3a00e5
tree0baa1a7eba652e723b36fd6aba59d33bd62a9c2c
parentcc639dde8c6d70938cd186f4f3a47c7f84500fbd
[PowerPC] Fix issue with strict float to int conversion.

When doing the float to int conversion the strict conversion also needs to
retun a chain. This patch fixes that.

Reviewed By: nemanjai, #powerpc, qiucf

Differential Revision: https://reviews.llvm.org/D117464
llvm/lib/Target/PowerPC/PPCISelLowering.cpp
llvm/test/CodeGen/PowerPC/aix-fptoint.ll [new file with mode: 0644]