Files
clang-p2996/llvm/lib/Target/X86/X86TargetTransformInfo.cpp
Simon Pilgrim f59742c1ea [X86] getIntImmCostInst - recognise i64 ICMP EQ/NE special cases (#142812)
If the lower 32-bits of a i64 value are known to be zero, then icmp
lowering will shift+truncate down to a i32 allowing the immediate to be
embedded.

There's a lot more that could be done here to match icmp lowering, but
this PR just focuses on known regressions.

Fixes #142513
Fixes #62145
2025-06-06 10:21:40 +01:00

347 KiB