Skip to content

Commit 5951e3a

Browse files
committed
[Pass] Rename flattencfg -> flatten-cfg
1 parent 1e944d4 commit 5951e3a

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

llvm/lib/Passes/PassRegistry.def

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ FUNCTION_PASS("dwarf-eh-prepare", DwarfEHPreparePass(TM))
306306
FUNCTION_PASS("expand-large-div-rem", ExpandLargeDivRemPass(TM))
307307
FUNCTION_PASS("expand-large-fp-convert", ExpandLargeFpConvertPass(TM))
308308
FUNCTION_PASS("fix-irreducible", FixIrreduciblePass())
309-
FUNCTION_PASS("flattencfg", FlattenCFGPass())
309+
FUNCTION_PASS("flatten-cfg", FlattenCFGPass())
310310
FUNCTION_PASS("float2int", Float2IntPass())
311311
FUNCTION_PASS("guard-widening", GuardWideningPass())
312312
FUNCTION_PASS("gvn-hoist", GVNHoistPass())

llvm/lib/Transforms/Scalar/FlattenCFGPass.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
using namespace llvm;
2323

24-
#define DEBUG_TYPE "flattencfg"
24+
#define DEBUG_TYPE "flatten-cfg"
2525

2626
namespace {
2727
struct FlattenCFGLegacyPass : public FunctionPass {

llvm/lib/Transforms/Utils/FlattenCFG.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828

2929
using namespace llvm;
3030

31-
#define DEBUG_TYPE "flattencfg"
31+
#define DEBUG_TYPE "flatten-cfg"
3232

3333
namespace {
3434

llvm/test/Transforms/Util/flattencfg.ll renamed to llvm/test/Transforms/Util/flatten-cfg.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --version 2
2-
; RUN: opt -passes=flattencfg -S < %s | FileCheck %s
2+
; RUN: opt -passes=flatten-cfg -S < %s | FileCheck %s
33

44

55
; This test checks whether the pass completes without a crash.

0 commit comments

Comments
 (0)