Previously we were const folding operands but not passing them.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
LGTM, nice find.
Would be nice to have a test showing the difference, but maybe that's hard to do because of how these tend to get called? (E.g. InstCombine is folding operands anyway.)
Comment Actions
yeah it'll be tricky to find a test case where this matters, and probably doesn't matter much in practice anyway, just a nice cleanup