diff lib/Target/ARM/ARMFeatures.h @ 121:803732b1fca8

LLVM 5.0
author kono
date Fri, 27 Oct 2017 17:07:41 +0900
parents 54457678186b
children c2174574ed3a
line wrap: on
line diff
--- a/lib/Target/ARM/ARMFeatures.h	Fri Nov 25 19:14:25 2016 +0900
+++ b/lib/Target/ARM/ARMFeatures.h	Fri Oct 27 17:07:41 2017 +0900
@@ -19,10 +19,10 @@
 namespace llvm {
 
 template<typename InstrType> // could be MachineInstr or MCInst
-bool IsCPSRDead(InstrType *Instr);
+bool IsCPSRDead(const InstrType *Instr);
 
 template<typename InstrType> // could be MachineInstr or MCInst
-inline bool isV8EligibleForIT(InstrType *Instr) {
+inline bool isV8EligibleForIT(const InstrType *Instr) {
   switch (Instr->getOpcode()) {
   default:
     return false;