Skip to content

Commit ebcc4ac

Browse files
committed
A few nit fixes
1 parent 43d50d1 commit ebcc4ac

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

bolt/include/bolt/Passes/AArch64RelaxationPass.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//===- bolt/Passes/ADRRelaxationPass.h --------------------------*- C++ -*-===//
1+
//===- bolt/Passes/AArch64RelaxationPass.h ----------------------*- C++ -*-===//
22
//
33
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
44
// See https://llvm.org/LICENSE.txt for license information.
@@ -15,8 +15,8 @@
1515
//
1616
//===----------------------------------------------------------------------===//
1717

18-
#ifndef BOLT_PASSES_ADRLDRRELAXATIONPASS_H
19-
#define BOLT_PASSES_ADRLDRRELAXATIONPASS_H
18+
#ifndef BOLT_PASSES_AARCH64RELAXATIONPASS_H
19+
#define BOLT_PASSES_AARCH64RELAXATIONPASS_H
2020

2121
#include "bolt/Passes/BinaryPasses.h"
2222

bolt/lib/Passes/AArch64RelaxationPass.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//===- bolt/Passes/AArch64RelaxationPass.cpp
1+
//===- bolt/Passes/AArch64RelaxationPass.cpp ------------------------------===//
22
//----------------------------------===//
33
//
44
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
@@ -22,7 +22,7 @@ namespace opts {
2222
extern cl::OptionCategory BoltCategory;
2323

2424
static cl::opt<bool> AArch64PassOpt(
25-
"adr-ldr-relaxation",
25+
"aarch64-relaxation",
2626
cl::desc("Replace ARM non-local ADR/LDR instructions with ADRP"),
2727
cl::init(true), cl::cat(BoltCategory), cl::ReallyHidden);
2828
} // namespace opts

bolt/test/AArch64/ldr-relaxation.s

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
## Check that LDR relaxation will fail since LDR is inside a non-simple
2-
## function and there is no NOP next ot it.
2+
## function and there is no NOP next to it.
33

44
# RUN: llvm-mc -filetype=obj -triple aarch64-unknown-unknown \
55
# RUN: --defsym FAIL=1 %s -o %t.o

0 commit comments

Comments
 (0)