[llvm] [llvm][InstCombine] Fold signum(x) into scmp(x, 0) (PR #143445)

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 11 17:54:51 PDT 2025


topperc wrote:

> > add edi, edi seems wrong there
> 
> Why?

Nevermind, I think its ok, but there's one partial register write and one false dependency in that code.

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


More information about the llvm-commits mailing list