diff --git a/llvm/lib/Target/X86/X86TargetMachine.cpp b/llvm/lib/Target/X86/X86TargetMachine.cpp index ce4b090c2c6b..10638df2e44a 100644 --- a/llvm/lib/Target/X86/X86TargetMachine.cpp +++ b/llvm/lib/Target/X86/X86TargetMachine.cpp @@ -254,10 +254,10 @@ bool X86TargetMachine::addSimpleCodeEmitter(PassManagerBase &PM, bool Fast, return false; } -// symbolicAddressesAreRIPRel - Return true if symbolic addresses are -// RIP-relative on this machine, taking into consideration the relocation -// model and subtarget. RIP-relative addresses cannot have a separate -// base or index register. +/// symbolicAddressesAreRIPRel - Return true if symbolic addresses are +/// RIP-relative on this machine, taking into consideration the relocation +/// model and subtarget. RIP-relative addresses cannot have a separate +/// base or index register. bool X86TargetMachine::symbolicAddressesAreRIPRel() const { return getRelocationModel() != Reloc::Static && Subtarget.isPICStyleRIPRel();