This is an archive of the discontinued LLVM Phabricator instance.

[mips] Always run the MipsOptimizePICCall pass.
ClosedPublic

Authored by vkalintiris on Oct 27 2016, 9:12 AM.

Details

Summary

Remove this pass from addMachineSSAOptimization() and register it unconditionally in through addPreRegAlloc(). This pass is required for generating correct PIC calls.

Diff Detail

Repository
rL LLVM

Event Timeline

vkalintiris retitled this revision from to [mips] Always run the MipsOptimizePICCall pass..
vkalintiris updated this object.
vkalintiris added a reviewer: sdardis.
vkalintiris added a subscriber: llvm-commits.
sdardis accepted this revision.Oct 31 2016, 8:03 AM
sdardis edited edge metadata.

LGTM.

This revision is now accepted and ready to land.Oct 31 2016, 8:03 AM
This revision was automatically updated to reflect the committed changes.