Instead of checking for setcc, look for any 0/1 value.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
LGTM modulo tiny suggestion for comment.
llvm/lib/Target/RISCV/RISCVISelLowering.cpp | ||
---|---|---|
10589 | I'd prefer being a little more specific. e.g. "First xor input should be 0 or 1". |
I'd prefer being a little more specific. e.g. "First xor input should be 0 or 1".