[llvm] [RegisterCoalescer] Try every commute partner that reads the copy destination (PR #230433)
Nikhil Kotikalapudi via llvm-commits
llvm-commits at lists.llvm.org
Sun Oct 11 19:59:36 PDT 2026
nkotikal wrote:
> I looked into that before sending this. No end-to-end C example, sorry.
Haven't gone thru the full diff yet. Out of curiosity how did you find this bug considering its rarity?
I'd argue the patch is definitely worth it if you did notice this in an actual compilation. Regardless I don't see this having any impact on compile time since (as you said) the loop only runs on contingency.
https://github.com/llvm/llvm-project/pull/230433
More information about the llvm-commits
mailing list