HomePhabricator

[mips] Always run the MipsOptimizePICCall pass.

Authored by Vasileios Kalintiris <Vasileios.Kalintiris@imgtec.com> on Nov 2 2016, 8:11 AM.

Description

[mips] Always run the MipsOptimizePICCall pass.

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

Reviewers: sdardis

Subscribers: llvm-commits

Differential Revision: https://reviews.llvm.org/D26036

llvm-svn: 285814

Event Timeline

Vasileios Kalintiris <Vasileios.Kalintiris@imgtec.com> committed rGe3bb72ea786b: [mips] Always run the MipsOptimizePICCall pass. (authored by Vasileios Kalintiris <Vasileios.Kalintiris@imgtec.com>).Nov 2 2016, 8:11 AM