[llvm] [X86] Truncate i64 sub to i32 when upper 33 bits are zeros (PR #145850)

via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 15 01:53:24 PDT 2025


woruyu wrote:

> I added new tests for `neg` and vector paths since some existing ones were failing due to the new `combineSub` logic. I wasn’t sure if modifying those tests directly was appropriate, so I added separate ones instead. I also noticed some test case failures involving `setle`/`setg` instructions, but it’s unclear how they relate to `combineSub`, so I haven’t touched them yet.

Hi @omkar-mohanty,
Noticed your PR has been idle for a while — do you need any help with the remaining issues or the setle/setg test failures?

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


More information about the llvm-commits mailing list