Skip to content

Commit 1b69857

Browse files
sys-igcigcbot
authored andcommitted
[Autobackout][FunctionalRegression]Revert of change: 23a0bdc: Enable legacy memory intrinsic translation by default
.
1 parent 706d81d commit 1b69857

File tree

10 files changed

+17
-27
lines changed

10 files changed

+17
-27
lines changed

IGC/VectorCompiler/lib/GenXCodeGen/GenX.td

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,6 @@ def : Proc<"XeHPG", [
383383
FeatureMultiIndirectByteRegioning,
384384
FeatureSLM128K,
385385
FeatureThreadPayloadInMemory,
386-
FeatureTransLegacy,
387386
]>;
388387

389388
def : Proc<"XeLPG", [
@@ -405,7 +404,6 @@ def : Proc<"XeLPG", [
405404
FeatureMultiIndirectByteRegioning,
406405
FeatureSLM128K,
407406
FeatureThreadPayloadInMemory,
408-
FeatureTransLegacy,
409407
]>;
410408

411409
def : Proc<"XeLPGPlus", [
@@ -427,7 +425,6 @@ def : Proc<"XeLPGPlus", [
427425
FeatureMultiIndirectByteRegioning,
428426
FeatureSLM128K,
429427
FeatureThreadPayloadInMemory,
430-
FeatureTransLegacy,
431428
]>;
432429

433430
def : Proc<"XeHPC", [
@@ -454,7 +451,6 @@ def : Proc<"XeHPC", [
454451
FeatureSLM128K,
455452
FeatureSwitchjmp,
456453
FeatureThreadPayloadInMemory,
457-
FeatureTransLegacy,
458454
]>;
459455

460456
def : Proc<"XeHPCVG", [
@@ -481,7 +477,6 @@ def : Proc<"XeHPCVG", [
481477
FeatureSLM128K,
482478
FeatureSwitchjmp,
483479
FeatureThreadPayloadInMemory,
484-
FeatureTransLegacy,
485480
]>;
486481

487482
def : Proc<"Xe2", [

IGC/VectorCompiler/test/CisaBuilder/math_f16.ll

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
;=========================== begin_copyright_notice ============================
22
;
3-
; Copyright (C) 2023-2024 Intel Corporation
3+
; Copyright (C) 2023 Intel Corporation
44
;
55
; SPDX-License-Identifier: MIT
66
;
@@ -14,7 +14,6 @@
1414

1515
; COM: ;;;;;;;;;; CHECKERS ;;;;;;;;;;
1616

17-
; CHECK: .decl {{V[^ ]+}} v_type=G type=hf num_elts=8
1817
; CHECK: .decl [[SRC:V[^ ]+]] v_type=G type=hf num_elts=8
1918
; CHECK: cos (M1, 8) [[COS:V[^ ]+]](0,0)<1> [[SRC]](0,0)<1;1,0>
2019
; CHECK: exp (M1, 8) [[EXP:V[^ ]+]](0,0)<1> [[SRC]](0,0)<1;1,0>

IGC/VectorCompiler/test/CisaBuilder/math_f32.ll

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
;=========================== begin_copyright_notice ============================
22
;
3-
; Copyright (C) 2023-2024 Intel Corporation
3+
; Copyright (C) 2023 Intel Corporation
44
;
55
; SPDX-License-Identifier: MIT
66
;
@@ -14,7 +14,6 @@
1414

1515
; COM: ;;;;;;;;;; CHECKERS ;;;;;;;;;;
1616

17-
; CHECK: .decl {{V[^ ]+}} v_type=G type=f num_elts=8
1817
; CHECK: .decl [[SRC:V[^ ]+]] v_type=G type=f num_elts=8
1918
; CHECK: cos (M1, 8) [[COS:V[^ ]+]](0,0)<1> [[SRC]](0,0)<1;1,0>
2019
; CHECK: exp (M1, 8) [[EXP:V[^ ]+]](0,0)<1> [[SRC]](0,0)<1;1,0>

IGC/VectorCompiler/test/CisaBuilder/rdtsc.ll

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,22 +14,19 @@
1414

1515
; COM: ;;;;;;;;;; CHECKERS ;;;;;;;;;;
1616

17-
; CHECK: .decl [[SURF:V[^ ]+]] v_type=G type=d num_elts=1 align=dword
1817
; CHECK: .decl [[TMC_1:V[^ ]+]] v_type=G type=q num_elts=1 align=qword
1918
; CHECK: .decl [[TMC_2:V[^ ]+]] v_type=G type=q num_elts=1 align=qword
2019
; CHECK: .decl [[RES:V[^ ]+]] v_type=G type=d num_elts=8 align=GRF
21-
; CHECK: .decl [[ALIAS_SURF:V[^ ]+]] v_type=G type=ud num_elts=1 alias=<[[SURF]], 0>
2220
; CHECK: .decl [[ALIAS_1:V[^ ]+]] v_type=G type=d num_elts=2 alias=<[[TMC_1]], 0>
2321
; CHECK: .decl [[ALIAS_2:V[^ ]+]] v_type=G type=d num_elts=2 alias=<[[TMC_2]], 0>
2422
; CHECK: .decl [[ALIAS_RES:V[^ ]+]] v_type=G type=q num_elts=4 alias=<[[RES]], 0>
2523
; CHECK: .decl [[SURFACE:T[^ ]+]] v_type=T num_elts=1
2624

27-
; CHECK: movs (M1, 1) [[ALIAS_SURF]](0,0)<1> [[SURFACE]](0)
2825
; CHECK: mov (M1, 2) [[ALIAS_1]](0,0)<1> %tsc(0,0)<1;1,0>
2926
; CHECK: mov (M1, 2) [[ALIAS_2]](0,0)<1> %tsc(0,0)<1;1,0>
3027
; CHECK: mov (M1, 1) [[ALIAS_RES]](0,0)<1> [[TMC_1]](0,0)<0;1,0>
3128
; CHECK: mov (M1, 1) [[ALIAS_RES]](0,1)<1> [[TMC_2]](0,0)<0;1,0>
32-
; CHECK: lsc_store.ugm (M1, 1) bti([[SURF]])[{{V[^ ]+}}]:a32 [[RES]]:d32x8t
29+
; CHECK: oword_st (2) [[SURFACE]] 0x0:ud [[RES]]
3330

3431
; COM: ;;;;;;;;;; KERNEL ;;;;;;;;;;
3532

IGC/VectorCompiler/test/GenXLegacyToLscTranslator/atomic.ll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
;=========================== begin_copyright_notice ============================
22
;
3-
; Copyright (C) 2023-2024 Intel Corporation
3+
; Copyright (C) 2023 Intel Corporation
44
;
55
; SPDX-License-Identifier: MIT
66
;
77
;============================ end_copyright_notice =============================
88

9-
; RUN: %opt %use_old_pass_manager% -enable-debugify -GenXLegacyToLscTranslator -march=genx64 -mcpu=XeHPC -mtriple=spir64-unknown-unknown -S < %s 2>&1 | FileCheck %s
9+
; RUN: %opt %use_old_pass_manager% -enable-debugify -GenXLegacyToLscTranslator -march=genx64 -mcpu=XeHPC -mtriple=spir64-unknown-unknown -mattr=+translate_legacy_message -S < %s 2>&1 | FileCheck %s
1010

1111
target datalayout = "e-p:64:64-i64:64-n8:16:32:64"
1212
target triple = "genx64-unknown-unknown"

IGC/VectorCompiler/test/GenXLegacyToLscTranslator/gather-scatter.ll

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
;=========================== begin_copyright_notice ============================
22
;
3-
; Copyright (C) 2023-2024 Intel Corporation
3+
; Copyright (C) 2023 Intel Corporation
44
;
55
; SPDX-License-Identifier: MIT
66
;
77
;============================ end_copyright_notice =============================
88

9-
; RUN: %opt %use_old_pass_manager% -enable-debugify -GenXLegacyToLscTranslator \
10-
; RUN: -march=genx64 -mcpu=XeHPC -mtriple=spir64-unknown-unknown -S < %s 2>&1 | FileCheck %s
9+
; RUN: %opt %use_old_pass_manager% -enable-debugify -GenXLegacyToLscTranslator -march=genx64 -mcpu=XeHPC -mtriple=spir64-unknown-unknown -mattr=+translate_legacy_message -S < %s 2>&1 | FileCheck %s
1110

1211
target datalayout = "e-p:64:64-i64:64-n8:16:32:64"
1312
target triple = "genx64-unknown-unknown"

IGC/VectorCompiler/test/GenXLegacyToLscTranslator/gather4-scatter4.ll

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
;=========================== begin_copyright_notice ============================
22
;
3-
; Copyright (C) 2023-2024 Intel Corporation
3+
; Copyright (C) 2023 Intel Corporation
44
;
55
; SPDX-License-Identifier: MIT
66
;
77
;============================ end_copyright_notice =============================
88

9-
; RUN: %opt %use_old_pass_manager% -enable-debugify -GenXLegacyToLscTranslator \
10-
; RUN: -march=genx64 -mcpu=XeHPC -mtriple=spir64-unknown-unknown -S < %s 2>&1 | FileCheck %s
9+
; RUN: %opt %use_old_pass_manager% -enable-debugify -GenXLegacyToLscTranslator -march=genx64 -mcpu=XeHPC -mtriple=spir64-unknown-unknown -mattr=+translate_legacy_message -S < %s 2>&1 | FileCheck %s
1110

1211
target datalayout = "e-p:64:64-i64:64-n8:16:32:64"
1312
target triple = "genx64-unknown-unknown"

IGC/VectorCompiler/test/GenXLegacyToLscTranslator/media-block-ld.ll

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010
; RUN: -mtriple=spir64-unknown-unknown -S < %s | FileCheck %s
1111

1212
; RUN: %opt %use_old_pass_manager% -GenXLegacyToLscTranslator -march=genx64 -mcpu=XeHPG \
13-
; RUN: -mtriple=spir64-unknown-unknown -S < %s | FileCheck --check-prefix=NOTYPED %s
13+
; RUN: -mattr=+translate_legacy_message -mtriple=spir64-unknown-unknown -S < %s | \
14+
; RUN: FileCheck --check-prefix=NOTYPED %s
1415

1516
; COM: media.ld -> llvm.vc.internal.lsc.load.2d.tgm.bti
1617

IGC/VectorCompiler/test/GenXLegacyToLscTranslator/media-block-st.ll

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,12 @@
77
;============================ end_copyright_notice =============================
88

99
; RUN: %opt %use_old_pass_manager% -GenXLegacyToLscTranslator -march=genx64 -mcpu=Xe2 \
10-
; RUN: -mtriple=spir64-unknown-unknown -S < %s | FileCheck %s
10+
; RUN: -mattr=+translate_legacy_message -mtriple=spir64-unknown-unknown -S < %s | \
11+
; RUN: FileCheck %s
1112

1213
; RUN: %opt %use_old_pass_manager% -GenXLegacyToLscTranslator -march=genx64 -mcpu=XeHPG \
13-
; RUN: -mtriple=spir64-unknown-unknown -S < %s | FileCheck --check-prefix=NOTYPED %s
14+
; RUN: -mattr=+translate_legacy_message -mtriple=spir64-unknown-unknown -S < %s | \
15+
; RUN: FileCheck --check-prefix=NOTYPED %s
1416

1517
; COM: media.st -> llvm.genx.lsc.store2d.typed.bti
1618

IGC/VectorCompiler/test/GenXLegacyToLscTranslator/oword.ll

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
;=========================== begin_copyright_notice ============================
22
;
3-
; Copyright (C) 2023-2024 Intel Corporation
3+
; Copyright (C) 2023 Intel Corporation
44
;
55
; SPDX-License-Identifier: MIT
66
;
77
;============================ end_copyright_notice =============================
88

9-
; RUN: %opt %use_old_pass_manager% -enable-debugify -GenXLegacyToLscTranslator \
10-
; RUN: -march=genx64 -mcpu=XeHPC -mtriple=spir64-unknown-unknown -S < %s 2>&1 | FileCheck %s
9+
; RUN: %opt %use_old_pass_manager% -enable-debugify -GenXLegacyToLscTranslator -march=genx64 -mcpu=XeHPC -mtriple=spir64-unknown-unknown -mattr=+translate_legacy_message -S < %s 2>&1 | FileCheck %s
1110

1211
target datalayout = "e-p:64:64-i64:64-n8:16:32:64"
1312
target triple = "genx64-unknown-unknown"

0 commit comments

Comments
 (0)