Details
Details
- Reviewers
craig.topper 01169957911 13rac1 benshi001
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Unit Tests
Unit Tests
Event Timeline
llvm/lib/Target/RISCV/RISCVInstrInfoZb.td | ||
---|---|---|
1039 | Does the InstCombine canonicalize mul X, 2 to shl X, 1? |
Comment Actions
It would be better to sperate the test and your optimization to two patches. First create the test patch, then the optimization patch, and select the first one as the second one's parent. So we can see obvious changes by you.
Does the InstCombine canonicalize mul X, 2 to shl X, 1?