diff options
| author | Aditya Nandakumar <aditya_nandakumar@apple.com> | 2019-01-16 00:40:37 +0000 |
|---|---|---|
| committer | Aditya Nandakumar <aditya_nandakumar@apple.com> | 2019-01-16 00:40:37 +0000 |
| commit | 500e3ead9fa5cf27e8dcadae509ffbe93ee0d3bb (patch) | |
| tree | cb33a52687ccae37e6014e6eff2c4e9d2837e40d /llvm/lib/Target/Mips/MipsPreLegalizerCombiner.cpp | |
| parent | e3226737ce014d6a8e5b5106f20303dd51048c6e (diff) | |
| download | bcm5719-llvm-500e3ead9fa5cf27e8dcadae509ffbe93ee0d3bb.tar.gz bcm5719-llvm-500e3ead9fa5cf27e8dcadae509ffbe93ee0d3bb.zip | |
[GISel]: Add support for CSEing continuously during GISel passes.
https://reviews.llvm.org/D52803
This patch adds support to continuously CSE instructions during
each of the GISel passes. It consists of a GISelCSEInfo analysis pass
that can be used by the CSEMIRBuilder.
llvm-svn: 351283
Diffstat (limited to 'llvm/lib/Target/Mips/MipsPreLegalizerCombiner.cpp')
| -rw-r--r-- | llvm/lib/Target/Mips/MipsPreLegalizerCombiner.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/Mips/MipsPreLegalizerCombiner.cpp b/llvm/lib/Target/Mips/MipsPreLegalizerCombiner.cpp index c355a0e86d2..1cff1c8396e 100644 --- a/llvm/lib/Target/Mips/MipsPreLegalizerCombiner.cpp +++ b/llvm/lib/Target/Mips/MipsPreLegalizerCombiner.cpp @@ -73,7 +73,7 @@ bool MipsPreLegalizerCombiner::runOnMachineFunction(MachineFunction &MF) { auto *TPC = &getAnalysis<TargetPassConfig>(); MipsPreLegalizerCombinerInfo PCInfo; Combiner C(PCInfo, TPC); - return C.combineMachineInstrs(MF); + return C.combineMachineInstrs(MF, nullptr); } char MipsPreLegalizerCombiner::ID = 0; |

