Skip to content

Commit 66e6046

Browse files
fda0igcbot
authored andcommitted
Rename igc-promote-bools to igc-promote-sub-byte
Rename previously missed PASS_FLAG and PASS_DESCRIPTION for PromoteSubByte pass.
1 parent da392f1 commit 66e6046

37 files changed

+39
-39
lines changed

IGC/AdaptorOCL/preprocess_spvir/PromoteSubByte.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ static Type *createDemotedType(Type *type) {
5858
}
5959

6060
// Register pass to igc-opt
61-
#define PASS_FLAG "igc-promote-bools"
62-
#define PASS_DESCRIPTION "Promote bools"
61+
#define PASS_FLAG "igc-promote-sub-byte"
62+
#define PASS_DESCRIPTION "Promote sub byte types"
6363
#define PASS_CFG_ONLY false
6464
#define PASS_ANALYSIS false
6565
IGC_INITIALIZE_PASS_BEGIN(PromoteSubByte, PASS_FLAG, PASS_DESCRIPTION, PASS_CFG_ONLY, PASS_ANALYSIS)

IGC/Compiler/tests/PromoteSubByte/i1/allocas.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
;
77
;============================ end_copyright_notice =============================
88

9-
; RUN: igc_opt --typed-pointers -igc-promote-bools -S %s -o %t.ll
9+
; RUN: igc_opt --typed-pointers -igc-promote-sub-byte -S %s -o %t.ll
1010
; RUN: FileCheck %s --input-file=%t.ll
1111

1212
%struct = type { [4 x <8 x i1*>], [4 x <8 x i1>*]* }

IGC/Compiler/tests/PromoteSubByte/i1/casts.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
;
77
;============================ end_copyright_notice =============================
88

9-
; RUN: igc_opt --typed-pointers -igc-promote-bools -S %s -o %t.ll
9+
; RUN: igc_opt --typed-pointers -igc-promote-sub-byte -S %s -o %t.ll
1010
; RUN: FileCheck %s --input-file=%t.ll
1111

1212
define spir_func void @bitcast_i32_to_i1() {

IGC/Compiler/tests/PromoteSubByte/i1/excluded_intrinsics.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
;
77
;============================ end_copyright_notice =============================
88

9-
; RUN: igc_opt --opaque-pointers -igc-promote-bools -S %s | FileCheck %s
9+
; RUN: igc_opt --opaque-pointers -igc-promote-sub-byte -S %s | FileCheck %s
1010
; ------------------------------------------------
1111
; Ensure that "intel_sub_group_ballot" is excluded from i1 to i8 promotion.
1212
; ------------------------------------------------

IGC/Compiler/tests/PromoteSubByte/i1/extractelement.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
;
77
;============================ end_copyright_notice =============================
88

9-
; RUN: igc_opt --typed-pointers -igc-promote-bools -S %s -o %t.ll
9+
; RUN: igc_opt --typed-pointers -igc-promote-sub-byte -S %s -o %t.ll
1010
; RUN: FileCheck %s --input-file=%t.ll
1111

1212
; CHECK: extractelement <4 x i8> %1, i32 0

IGC/Compiler/tests/PromoteSubByte/i1/extractvalues.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
;
77
;============================ end_copyright_notice =============================
88

9-
; RUN: igc_opt --typed-pointers -igc-promote-bools -S %s -o %t.ll
9+
; RUN: igc_opt --typed-pointers -igc-promote-sub-byte -S %s -o %t.ll
1010
; RUN: FileCheck %s --input-file=%t.ll
1111

1212
%struct = type { i32, i1 }

IGC/Compiler/tests/PromoteSubByte/i1/functions-and-calls.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
;
77
;============================ end_copyright_notice =============================
88

9-
; RUN: igc_opt --typed-pointers -igc-promote-bools -S %s -o %t.ll
9+
; RUN: igc_opt --typed-pointers -igc-promote-sub-byte -S %s -o %t.ll
1010
; RUN: FileCheck %s --input-file=%t.ll
1111

1212
%struct_without_bools = type { i8 }

IGC/Compiler/tests/PromoteSubByte/i1/geps.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
;
77
;============================ end_copyright_notice =============================
88

9-
; RUN: igc_opt --typed-pointers -igc-promote-bools -S %s -o %t.ll
9+
; RUN: igc_opt --typed-pointers -igc-promote-sub-byte -S %s -o %t.ll
1010
; RUN: FileCheck %s --input-file=%t.ll
1111

1212
%struct = type { i32, i1 }

IGC/Compiler/tests/PromoteSubByte/i1/global-variables.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
;
77
;============================ end_copyright_notice =============================
88

9-
; RUN: igc_opt --typed-pointers -igc-promote-bools -S %s -o %t.ll
9+
; RUN: igc_opt --typed-pointers -igc-promote-sub-byte -S %s -o %t.ll
1010
; RUN: FileCheck %s --input-file=%t.ll
1111

1212
%struct = type { i1, i1, [2 x i1], [2 x <2 x i1>], i1* }

IGC/Compiler/tests/PromoteSubByte/i1/icmps/basic.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
;
77
;============================ end_copyright_notice =============================
88

9-
; RUN: igc_opt --typed-pointers -igc-promote-bools -S %s -o %t.ll
9+
; RUN: igc_opt --typed-pointers -igc-promote-sub-byte -S %s -o %t.ll
1010
; RUN: FileCheck %s --input-file=%t.ll
1111

1212
define spir_func void @icmps() {

0 commit comments

Comments
 (0)