diff options
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCTOCRegDeps.cpp')
| -rw-r--r-- | llvm/lib/Target/PowerPC/PPCTOCRegDeps.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCTOCRegDeps.cpp b/llvm/lib/Target/PowerPC/PPCTOCRegDeps.cpp index 8120975c4fb2..81f078ab246e 100644 --- a/llvm/lib/Target/PowerPC/PPCTOCRegDeps.cpp +++ b/llvm/lib/Target/PowerPC/PPCTOCRegDeps.cpp @@ -100,7 +100,7 @@ protected: return true; for (const MachineOperand &MO : MI.operands()) { - if ((MO.getTargetFlags() & PPCII::MO_ACCESS_MASK) == PPCII::MO_TOC_LO) + if (MO.getTargetFlags() == PPCII::MO_TOC_LO) return true; } |
