This is an archive of the discontinued LLVM Phabricator instance.

[AArch64] Consider tiny code model in emitLoadFromConstantPool.
ClosedPublic

Authored by HsiangKai on Aug 24 2022, 12:56 AM.

Details

Summary

We should be able to use load(literal) to access constant pool under
the tiny code model.

Diff Detail

Event Timeline

HsiangKai created this revision.Aug 24 2022, 12:56 AM
HsiangKai requested review of this revision.Aug 24 2022, 12:56 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 24 2022, 12:56 AM

Are there existing IR tests that we can add run lines to?

Are there existing IR tests that we can add run lines to?

I only found select-imm.mir to load constants under different code models. I did not aware other test cases to add the run lines.

aemerson accepted this revision.Feb 6 2023, 2:33 PM
This revision is now accepted and ready to land.Feb 6 2023, 2:33 PM
This revision was landed with ongoing or failed builds.Feb 11 2023, 10:18 PM
This revision was automatically updated to reflect the committed changes.