This is an archive of the discontinued LLVM Phabricator instance.

X86InstrInfo: Extend optimizeCompareInstr to look across basic blocks.
AbandonedPublic

Authored by MatzeB on Sep 30 2021, 10:56 AM.

Details

Summary

This extends optimizeCompareInstr to continue the backwards search when it reached the beginning of a basic block. If there is a single predecessor block then we can just continue the search in that block and mark the EFLAGS register as live-in.

Diff Detail

Event Timeline

MatzeB created this revision.Sep 30 2021, 10:56 AM
MatzeB requested review of this revision.Sep 30 2021, 10:56 AM
Herald added a project: Restricted Project. · View Herald TranscriptSep 30 2021, 10:56 AM
MatzeB abandoned this revision.Sep 30 2021, 10:56 AM

wrong file