This is an archive of the discontinued LLVM Phabricator instance.

[CVP][NFCI] Refactor truncated binary operator creation out of processUDivOrURem()
AbandonedPublic

Authored by lebedev.ri on May 20 2018, 2:11 AM.

Diff Detail

Repository
rL LLVM

Event Timeline

jlebar accepted this revision.May 20 2018, 10:42 AM
This revision is now accepted and ready to land.May 20 2018, 10:42 AM

It's fine as a clean-up, but would it be better still to use IRBuilder?

It's fine as a clean-up, but would it be better still to use IRBuilder?

I can certainly do that, but that will do constant propagation; do we want that here?

It's fine as a clean-up, but would it be better still to use IRBuilder?

I can certainly do that, but that will do constant propagation; do we want that here?

Hmm...not sure what the trade-off would be in that case. Do you have an example in mind?

IRBuilder constant folding can be disable by declaring it as IRBuilder<NoFolder>

lebedev.ri abandoned this revision.Jun 21 2019, 8:52 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 21 2019, 8:52 AM