foad added a comment. Looks OK technically. Why is it useful to lower round and floor in terms of trunc? Is trunc somehow more primitive, or more commonly legal? Does the AMDGPU backend use any of this? CHANGES SINCE LAST ACTION https://reviews.llvm.org/D76199/new/ https://reviews.llvm.org/D76199