This extension point allows adding passes that perform peephole optimizations
similar to the instruction combiner. These passes will be inserted after
each instance of the instruction combiner pass.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
This makes a lot of sense to me, and the patch LGTM. Please commit.
I wonder if we want to distinguish between an early, canonicalizing peephole and a late target-specific peephole? Certainly, this patch is fine, just food for thought if this ever comes up.