summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Mips/MipsInstructionSelector.cpp
diff options
context:
space:
mode:
authorVlad Tsyrklevich <vlad@tsyrklevich.net>2019-03-01 18:58:22 +0000
committerVlad Tsyrklevich <vlad@tsyrklevich.net>2019-03-01 18:58:22 +0000
commit892513800747baa7dcc2e9dda880d670c7707128 (patch)
treef9340dd7a7be6786c3563b17fbbc28664bba452b /llvm/lib/Target/Mips/MipsInstructionSelector.cpp
parent16d9a0acfd447bf60543fd914e688db4639bc0bf (diff)
downloadbcm5719-llvm-892513800747baa7dcc2e9dda880d670c7707128.tar.gz
bcm5719-llvm-892513800747baa7dcc2e9dda880d670c7707128.zip
Revert "[MIPS GlobalISel] Fix mul operands"
This reverts commit r355178, it is causing ASan failures on the sanitizer bots. llvm-svn: 355219
Diffstat (limited to 'llvm/lib/Target/Mips/MipsInstructionSelector.cpp')
-rw-r--r--llvm/lib/Target/Mips/MipsInstructionSelector.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/llvm/lib/Target/Mips/MipsInstructionSelector.cpp b/llvm/lib/Target/Mips/MipsInstructionSelector.cpp
index fb43231bc96..92a62b5186b 100644
--- a/llvm/lib/Target/Mips/MipsInstructionSelector.cpp
+++ b/llvm/lib/Target/Mips/MipsInstructionSelector.cpp
@@ -132,10 +132,6 @@ bool MipsInstructionSelector::select(MachineInstr &I,
}
if (selectImpl(I, CoverageInfo)) {
- if (I.getOpcode() == Mips::MUL) {
- I.getOperand(3).setIsDead(true);
- I.getOperand(4).setIsDead(true);
- }
return true;
}
OpenPOWER on IntegriCloud