This is an archive of the discontinued LLVM Phabricator instance.

[RISCV] Add MachineMemOperand when codegen PseudoLA
AbandonedPublic

Authored by StephenFan on Mar 15 2022, 6:09 AM.

Details

Summary

Issue: https://github.com/llvm/llvm-project/issues/54372

Some MachineFunctionPass like Machine-LICM pass needs to use memops information to check if this instruction is safe to move to other places.

This patch adds MachineMemOperand for global address when codegen to PseudoLA

Diff Detail

Event Timeline

StephenFan created this revision.Mar 15 2022, 6:09 AM
StephenFan requested review of this revision.Mar 15 2022, 6:09 AM
StephenFan edited the summary of this revision. (Show Details)Mar 15 2022, 6:10 AM
StephenFan abandoned this revision.Mar 15 2022, 6:30 AM