Currently, only SUB, ADD, OR and XOR are covered. This patch
adds AND, SHL, SRA, SRL.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
| llvm/test/CodeGen/RISCV/fold-select-into-binop.ll | ||
|---|---|---|
| 1 ↗ | (On Diff #540578) | The test should be commited separately first I guess. I'll do that soon. |
| llvm/lib/Target/RISCV/RISCVISelLowering.cpp | ||
|---|---|---|
| 12441 | The identity value for fadd is -0.0. | |
Comment Actions
https://reviews.llvm.org/D155481
Should I commit that test first? The effect of this patch is seen on the existing tests already.
Drop the isFloatingPoint check?