summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/PowerPC/PPCInstrInfo.h
diff options
context:
space:
mode:
authorKrzysztof Parzyszek <kparzysz@codeaurora.org>2017-03-03 18:30:54 +0000
committerKrzysztof Parzyszek <kparzysz@codeaurora.org>2017-03-03 18:30:54 +0000
commitcc31871dc4b7e711942f1a441e35acbea519cdef (patch)
tree12199951d3e8c18d247464a18dced176cda79ab5 /llvm/lib/Target/PowerPC/PPCInstrInfo.h
parent8e216703d88a7376b2891f3862876d46f7569786 (diff)
downloadbcm5719-llvm-cc31871dc4b7e711942f1a441e35acbea519cdef.tar.gz
bcm5719-llvm-cc31871dc4b7e711942f1a441e35acbea519cdef.zip
Make TargetInstrInfo::isPredicable take a const reference, NFC
llvm-svn: 296901
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCInstrInfo.h')
-rw-r--r--llvm/lib/Target/PowerPC/PPCInstrInfo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCInstrInfo.h b/llvm/lib/Target/PowerPC/PPCInstrInfo.h
index 32b2f009a3f..f11aed8fa26 100644
--- a/llvm/lib/Target/PowerPC/PPCInstrInfo.h
+++ b/llvm/lib/Target/PowerPC/PPCInstrInfo.h
@@ -253,7 +253,7 @@ public:
bool DefinesPredicate(MachineInstr &MI,
std::vector<MachineOperand> &Pred) const override;
- bool isPredicable(MachineInstr &MI) const override;
+ bool isPredicable(const MachineInstr &MI) const override;
// Comparison optimization.
OpenPOWER on IntegriCloud