In Rust bug 1562196, we found that LLVM codegen is using an f32 intermediate value for fptosi f64 to i32 when PowerPC VSX is enabled. Filed upstream: https://bugs.llvm.org/show_bug.cgi?id=38342
Fixed in llvm-toolset-6.0-llvm-6.0.1-3.el7.
Verified with llvm-toolset-6.0-llvm-6.0.1-5.el7.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2018:3583