Skip to content

Commit

Permalink
Rename t2-reduce-size -> thumb2-reduce-size
Browse files Browse the repository at this point in the history
For readability and consistency with other thumb2 passes like
"thumb2-it".

Reviewed By: arsenm

Differential Revision: https://reviews.llvm.org/D84696
  • Loading branch information
aeubanks committed Jul 27, 2020
1 parent 351d234 commit beb7e3b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion llvm/lib/Target/ARM/Thumb2SizeReduction.cpp
Expand Up @@ -43,7 +43,7 @@

using namespace llvm;

#define DEBUG_TYPE "t2-reduce-size"
#define DEBUG_TYPE "thumb2-reduce-size"
#define THUMB2_SIZE_REDUCE_NAME "Thumb2 instruction size reduce pass"

STATISTIC(NumNarrows, "Number of 32-bit instrs reduced to 16-bit ones");
Expand Down
2 changes: 1 addition & 1 deletion llvm/test/CodeGen/Thumb2/t2-teq-reduce.mir
@@ -1,5 +1,5 @@
# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
# RUN: llc -run-pass=t2-reduce-size %s -o - | FileCheck %s
# RUN: llc -run-pass=thumb2-reduce-size %s -o - | FileCheck %s

--- |
target datalayout = "e-m:e-p:32:32-i64:64-v128:64:128-a:0:32-n32-S64"
Expand Down
2 changes: 1 addition & 1 deletion llvm/test/CodeGen/Thumb2/t2sizereduction.mir
@@ -1,5 +1,5 @@
# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
# RUN: llc -run-pass=t2-reduce-size %s -o - | FileCheck %s
# RUN: llc -run-pass=thumb2-reduce-size %s -o - | FileCheck %s

--- |
target datalayout = "e-m:e-p:32:32-i64:64-v128:64:128-a:0:32-n32-S64"
Expand Down

0 comments on commit beb7e3b

Please sign in to comment.