[llvm] [ARM][SDAG] Half promote llvm.lrint nodes. (PR #161088)

David Green via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 7 14:04:36 PDT 2025


davemgreen wrote:

> Like I mentioned, we probably want to mark more variants of lrint "Expand", but we can leave that for a followup.

Yep, I agree. I was trying to keep this focussed on fixing lrint. (And some of the llrint cases were not trivial, due to the way it legalizes llrint). I have another (simple) patch for lround too, that is essentially the same as this. I haven't looked at strict nodes, Arm doesn't support them quite yet.

https://github.com/llvm/llvm-project/pull/161088


More information about the llvm-commits mailing list