Mercurial > hg > CbC > CbC_llvm
diff lib/Target/SystemZ/SystemZShortenInst.cpp @ 134:3a76565eade5 LLVM5.0.1
update 5.0.1
author | mir3636 |
---|---|
date | Sat, 17 Feb 2018 09:57:20 +0900 |
parents | 803732b1fca8 |
children | c2174574ed3a |
line wrap: on
line diff
--- a/lib/Target/SystemZ/SystemZShortenInst.cpp Fri Feb 16 19:10:49 2018 +0900 +++ b/lib/Target/SystemZ/SystemZShortenInst.cpp Sat Feb 17 09:57:20 2018 +0900 @@ -17,7 +17,7 @@ #include "llvm/CodeGen/LivePhysRegs.h" #include "llvm/CodeGen/MachineFunctionPass.h" #include "llvm/CodeGen/MachineInstrBuilder.h" -#include "llvm/Target/TargetRegisterInfo.h" +#include "llvm/CodeGen/TargetRegisterInfo.h" using namespace llvm; @@ -309,7 +309,7 @@ } bool SystemZShortenInst::runOnMachineFunction(MachineFunction &F) { - if (skipFunction(*F.getFunction())) + if (skipFunction(F.getFunction())) return false; const SystemZSubtarget &ST = F.getSubtarget<SystemZSubtarget>();