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

Omkar Mohanty via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 10 04:55:32 PDT 2025


omkar-mohanty 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.

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


More information about the llvm-commits mailing list