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

via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 12 06:30:10 PDT 2025


AZero13 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.

partial register write, yes, deliberate
false dependency? Where?

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


More information about the llvm-commits mailing list