diff options
Diffstat (limited to 'llvm/lib/Target/SystemZ/SystemZISelLowering.cpp')
| -rw-r--r-- | llvm/lib/Target/SystemZ/SystemZISelLowering.cpp | 3 | 
1 files changed, 1 insertions, 2 deletions
| diff --git a/llvm/lib/Target/SystemZ/SystemZISelLowering.cpp b/llvm/lib/Target/SystemZ/SystemZISelLowering.cpp index 3da720f..58109ac 100644 --- a/llvm/lib/Target/SystemZ/SystemZISelLowering.cpp +++ b/llvm/lib/Target/SystemZ/SystemZISelLowering.cpp @@ -8973,8 +8973,7 @@ SystemZTargetLowering::getJumpConditionMergingParams(Instruction::BinaryOps Opc,          if (const auto *CB = dyn_cast<CallBase>(RHSVal)) {            if (CB->isInlineAsm()) {              const InlineAsm *IA = cast<InlineAsm>(CB->getCalledOperand()); -            return IA && -                   IA->getConstraintString().find("{@cc}") != std::string::npos; +            return IA && IA->getConstraintString().contains("{@cc}");            }          }        } | 
