This is an archive of the discontinued LLVM Phabricator instance.

[LSR] Allow terminating condition fold on start values by BinaryOperator
Needs RevisionPublic

Authored by eopXD on Oct 20 2022, 9:19 PM.

Details

Summary

Orginally only GEP instructions are allowed, this patch allows BinaryOperator
instructions to pass too.

Diff Detail

Event Timeline

eopXD created this revision.Oct 20 2022, 9:19 PM
Herald added a project: Restricted Project. · View Herald TranscriptOct 20 2022, 9:19 PM
eopXD requested review of this revision.Oct 20 2022, 9:19 PM
Herald added a project: Restricted Project. · View Herald TranscriptOct 20 2022, 9:19 PM
fhahn requested changes to this revision.Oct 20 2022, 11:56 PM

It looks like this needs additional tests.

This revision now requires changes to proceed.Oct 20 2022, 11:56 PM