Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
| llvm/lib/Target/RISCV/RISCVISelLowering.cpp | ||
|---|---|---|
| 4089 | I dropped the non-constant RHS check here because it doesn't matter for the correctness of the combine and an all constant setcc should have been DAG combined away. | |
| 4090 | Remove the second call to isOneConstant by checking if LHS == FalseV since we already know LHS is 1. These two changes improve the similarity with the new combine introduced here. | |
I dropped the non-constant RHS check here because it doesn't matter for the correctness of the combine and an all constant setcc should have been DAG combined away.