diff options
author | Krzysztof Parzyszek <kparzysz@codeaurora.org> | 2017-03-03 18:30:54 +0000 |
---|---|---|
committer | Krzysztof Parzyszek <kparzysz@codeaurora.org> | 2017-03-03 18:30:54 +0000 |
commit | cc31871dc4b7e711942f1a441e35acbea519cdef (patch) | |
tree | 12199951d3e8c18d247464a18dced176cda79ab5 /llvm/lib/Target/SystemZ/SystemZInstrInfo.cpp | |
parent | 8e216703d88a7376b2891f3862876d46f7569786 (diff) | |
download | bcm5719-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/SystemZ/SystemZInstrInfo.cpp')
-rw-r--r-- | llvm/lib/Target/SystemZ/SystemZInstrInfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/SystemZ/SystemZInstrInfo.cpp b/llvm/lib/Target/SystemZ/SystemZInstrInfo.cpp index 0e2ed598865..16ffd04dcb0 100644 --- a/llvm/lib/Target/SystemZ/SystemZInstrInfo.cpp +++ b/llvm/lib/Target/SystemZ/SystemZInstrInfo.cpp @@ -727,7 +727,7 @@ bool SystemZInstrInfo::FoldImmediate(MachineInstr &UseMI, MachineInstr &DefMI, return true; } -bool SystemZInstrInfo::isPredicable(MachineInstr &MI) const { +bool SystemZInstrInfo::isPredicable(const MachineInstr &MI) const { unsigned Opcode = MI.getOpcode(); if (Opcode == SystemZ::Return || Opcode == SystemZ::Trap || |