https://github.com/wangleiat approved this pull request. This is OK for #176839. If the hardware instruction can perform truncation automatically, we can continue to optimize it further. Thanks. https://github.com/llvm/llvm-project/pull/177083