[llvm] [RISCV][GISel] Lower G_SCMP and G_UCMP. (PR #119112)

Thorsten Schütt via llvm-commits llvm-commits at lists.llvm.org
Sun Dec 8 12:12:20 PST 2024


tschuett wrote:

We have 
```
/// Should we expand [US]CMP nodes using two selects and two compares, or by
/// doing arithmetic on boolean types
virtual bool shouldExpandCmpUsingSelects(EVT VT) const { return false; }
```
We can add a variant based on LLT.

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


More information about the llvm-commits mailing list