This is an archive of the discontinued LLVM Phabricator instance.

GlobalISel: Always enable GISelKnownBits for InstructionSelect
ClosedPublic

Authored by arsenm on Jan 12 2022, 12:47 PM.

Details

Reviewers
paquette
aemerson
Summary

This wasn't running at -O0, and causing crashes for AMDGPU. AMDGPU
needs this to match the addressing modes of stack access instructions,
which is even more important at -O0 than with optimizations.

It currently costs nothing to run ahead of time, so just always enable it.

Diff Detail

Event Timeline

arsenm created this revision.Jan 12 2022, 12:47 PM
arsenm requested review of this revision.Jan 12 2022, 12:47 PM
Herald added a project: Restricted Project. · View Herald TranscriptJan 12 2022, 12:47 PM
Herald added a subscriber: wdng. · View Herald Transcript
aemerson accepted this revision.Jan 12 2022, 2:25 PM

LGTM.

This revision is now accepted and ready to land.Jan 12 2022, 2:25 PM