Skip to content

Commit 3b11c8e

Browse files
MaheshRavishankarweidel-p
authored andcommitted
[Integrate] Bump LLVM to llvm/llvm-project@893b1d4 (iree-org#22334)
Still carrying these reverts: - llvm/llvm-project#160615. See iree-org#22171 - Fixes namespace usage in TD files. Not really sure this is the best way, but this works - Also update similar namespace usage in .td files in StableHLO. For now carrying a local patch, but will follow up with bump of StableHLO if that is fixed upstream. - Update `.Cases` to use `initializer_list` which was caught as an error on bazel builds. --------- Signed-off-by: MaheshRavishankar <[email protected]> Signed-off-by: Philipp <[email protected]>
1 parent 8f76e08 commit 3b11c8e

File tree

12 files changed

+106
-102
lines changed

12 files changed

+106
-102
lines changed

compiler/src/iree/compiler/Codegen/Dialect/Codegen/IR/IREECodegenInterfaces.td

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ def IREECodegen_InnerTileDescAttrInterface :
224224
}
225225

226226
def IREECodegen_AnyInnerTileDescAttr : Attr<Or<[
227-
CPred<"isa<IREE::Codegen::InnerTileDescAttrInterface>($_self)">,
227+
CPred<"::llvm::isa<::mlir::iree_compiler::IREE::Codegen::InnerTileDescAttrInterface>($_self)">,
228228
]>, "buffer-like constant attribute values"> {
229229
let storageType = [{ IREE::Codegen::InnerTileDescAttrInterface }];
230230
let returnType = [{ IREE::Codegen::InnerTileDescAttrInterface }];
@@ -544,7 +544,7 @@ def IREECodegen_SwizzleAttrInterface :
544544
}
545545

546546
def IREECodegen_AnySwizzleAttr : Attr<Or<[
547-
CPred<"isa<IREE::Codegen::SwizzleAttrInterface>($_self)">,
547+
CPred<"::llvm::isa<::mlir::iree_compiler::IREE::Codegen::SwizzleAttrInterface>($_self)">,
548548
]>, "swizzling descriptor attributes"> {
549549
let storageType = [{ IREE::Codegen::SwizzleAttrInterface }];
550550
let returnType = [{ IREE::Codegen::SwizzleAttrInterface }];

compiler/src/iree/compiler/Codegen/Dialect/Codegen/IR/IREECodegenOps.td

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ include "mlir/Interfaces/VectorInterfaces.td"
2121
include "mlir/Interfaces/ViewLikeInterface.td"
2222
include "mlir/Interfaces/InferTypeOpInterface.td"
2323

24-
def TensorTypeAttr : TypeAttrBase<"TensorType", "Tensor type attribute">;
24+
def TensorTypeAttr : TypeAttrBase<"::mlir::TensorType", "Tensor type attribute">;
2525

2626
def IREECodegen_QueryTileSizesOp :
2727
Op<IREECodegen_Dialect, "query_tile_sizes", [Pure]> {

compiler/src/iree/compiler/Codegen/Dialect/GPU/IR/IREEGPUInterfaces.td

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ def IREEGPU_MmaInterfaceAttr
8080
}
8181

8282
def IREEGPU_AnyMmaAttr : Attr<Or<[
83-
CPred<"isa<IREE::GPU::MmaInterfaceAttr>($_self)">,
83+
CPred<"::llvm::isa<::mlir::iree_compiler::IREE::GPU::MmaInterfaceAttr>($_self)">,
8484
]>, "buffer-like constant attribute values"> {
8585
let storageType = [{ IREE::GPU::MmaInterfaceAttr }];
8686
let returnType = [{ IREE::GPU::MmaInterfaceAttr }];

compiler/src/iree/compiler/Codegen/Dialect/GPU/TargetUtils/KnownTargets.cpp

Lines changed: 32 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -635,18 +635,18 @@ std::optional<TargetDetails> getAMDGPUTargetDetails(StringRef target) {
635635
return llvm::StringSwitch<std::optional<TargetDetails>>(target.lower())
636636
.Case("mi355x", TargetDetails{cdna4Wgp, &mi355xChip})
637637
.Case("mi350x", TargetDetails{cdna4Wgp, &mi350xChip})
638-
.Cases("cdna4", "gfx950", TargetDetails{cdna4Wgp, nullptr})
638+
.Cases({"cdna4", "gfx950"}, TargetDetails{cdna4Wgp, nullptr})
639639
.Case("mi325x", TargetDetails{cdna3Wgp, &mi325xChip})
640640
.Case("mi300x", TargetDetails{cdna3Wgp, &mi300xChip})
641641
.Case("mi300a", TargetDetails{cdna3Wgp, &mi300aChip})
642642
.Case("mi308x", TargetDetails{cdna3Wgp, &mi308xChip})
643-
.Cases("cdna3", "gfx942", TargetDetails{cdna3Wgp, nullptr})
643+
.Cases({"cdna3", "gfx942"}, TargetDetails{cdna3Wgp, nullptr})
644644
.Case("mi250x", TargetDetails{cdna2Wgp, &mi250xChip})
645645
.Case("mi250", TargetDetails{cdna2Wgp, &mi250Chip})
646646
.Case("mi210", TargetDetails{cdna2Wgp, &mi210Chip})
647-
.Cases("cdna2", "gfx90a", TargetDetails{cdna2Wgp, nullptr})
647+
.Cases({"cdna2", "gfx90a"}, TargetDetails{cdna2Wgp, nullptr})
648648
.Case("mi100", TargetDetails{cdna1Wgp, &mi100Chip})
649-
.Cases("cdna1", "gfx908", TargetDetails{cdna1Wgp, nullptr})
649+
.Cases({"cdna1", "gfx908"}, TargetDetails{cdna1Wgp, nullptr})
650650
// https://www.techpowerup.com/gpu-specs/radeon-rx-9070-xt.c4229
651651
.Case("rx9070xt", TargetDetails{rdna4Wgp, &rx9070xtChip})
652652
// https://www.techpowerup.com/gpu-specs/radeon-rx-9070.c4250
@@ -671,29 +671,32 @@ std::optional<TargetDetails> getAMDGPUTargetDetails(StringRef target) {
671671
.Case("w7800", TargetDetails{rdna3Wgp, &w7800Chip})
672672
// https://www.techpowerup.com/gpu-specs/radeon-pro-w7700.c4184
673673
.Case("w7700", TargetDetails{rdna3Wgp, &w7700Chip})
674-
.Cases("rdna4", "gfx1200", "gfx1201", TargetDetails{rdna4Wgp, nullptr})
675-
.Cases("rdna3", "gfx1100", "gfx1101", "gfx1102", "gfx1103", "gfx1150",
676-
"gfx1151", TargetDetails{rdna3Wgp, nullptr})
677-
.Cases("rdna2", "gfx1030", "gfx1031", "gfx1032", "gfx1033", "gfx1034",
678-
"gfx1035", "gfx1036", TargetDetails{rdna2Wgp, nullptr})
679-
.Cases("rdna1", "gfx1010", "gfx1011", "gfx1012", "gfx1013",
674+
.Cases({"rdna4", "gfx1200", "gfx1201"}, TargetDetails{rdna4Wgp, nullptr})
675+
.Cases({"rdna3", "gfx1100", "gfx1101", "gfx1102", "gfx1103", "gfx1150",
676+
"gfx1151"},
677+
TargetDetails{rdna3Wgp, nullptr})
678+
.Cases({"rdna2", "gfx1030", "gfx1031", "gfx1032", "gfx1033", "gfx1034",
679+
"gfx1035", "gfx1036"},
680+
TargetDetails{rdna2Wgp, nullptr})
681+
.Cases({"rdna1", "gfx1010", "gfx1011", "gfx1012", "gfx1013"},
680682
TargetDetails{rdna1Wgp, nullptr})
681683
.Case("gfx1250", TargetDetails{gfx1250Wgp, nullptr})
682684
.Default(std::nullopt);
683685
}
684686

685687
StringRef normalizeAMDGPUTarget(StringRef target) {
686688
return llvm::StringSwitch<StringRef>(target.lower())
687-
.Cases("mi350x", "mi355x", "gfx950", /*Value=*/"gfx950")
688-
.Cases("mi300a", "mi300x", "mi308x", "mi325x", "gfx942",
689+
.Cases({"mi350x", "mi355x", "gfx950"}, /*Value=*/"gfx950")
690+
.Cases({"mi300a", "mi300x", "mi308x", "mi325x", "gfx942"},
689691
/*Value=*/"gfx942")
690-
.Cases("mi250x", "mi250", "mi210", "cdna2", "gfx90a", /*Value=*/"gfx90a")
691-
.Cases("mi100", "cdna1", "gfx908", /*Value=*/"gfx908")
692-
.Cases("rx9070xt", "rx9070", "r9700", "gfx1201", /*Value=*/"gfx1201")
693-
.Cases("rx9060xt", "gfx1200", /*Value=*/"gfx1200")
694-
.Cases("rx7900xtx", "rx7900xt", "w7900", "w7800", "gfx1100",
692+
.Cases({"mi250x", "mi250", "mi210", "cdna2", "gfx90a"},
693+
/*Value=*/"gfx90a")
694+
.Cases({"mi100", "cdna1", "gfx908"}, /*Value=*/"gfx908")
695+
.Cases({"rx9070xt", "rx9070", "r9700", "gfx1201"}, /*Value=*/"gfx1201")
696+
.Cases({"rx9060xt", "gfx1200"}, /*Value=*/"gfx1200")
697+
.Cases({"rx7900xtx", "rx7900xt", "w7900", "w7800", "gfx1100"},
695698
/*Value=*/"gfx1100")
696-
.Cases("rx7800xt", "rx7700xt", "v710", "w7700", "gfx1101",
699+
.Cases({"rx7800xt", "rx7700xt", "v710", "w7700", "gfx1101"},
697700
/*Value=*/"gfx1101")
698701
.Case("gfx1250", /*Value=*/"gfx1250")
699702
.Default("");
@@ -757,15 +760,15 @@ std::optional<TargetDetails> getARMGPUTargetDetails(StringRef target) {
757760

758761
return llvm::StringSwitch<std::optional<TargetDetails>>(target.lower())
759762
// Mali-G715: https://vulkan.gpuinfo.org/displayreport.php?id=29754
760-
.Cases("mali-g715", "mali-g615", "valhall4",
763+
.Cases({"mali-g715", "mali-g615", "valhall4"},
761764
TargetDetails{valhallWgp, nullptr})
762765
// Mali-G710: https://vulkan.gpuinfo.org/displayreport.php?id=30471
763-
.Cases("mali-g710", "mali-g510", "mali-g310", "valhall3",
766+
.Cases({"mali-g710", "mali-g510", "mali-g310", "valhall3"},
764767
TargetDetails{valhallWgp, nullptr})
765768
// Mali-G78: https://vulkan.gpuinfo.org/displayreport.php?id=29994
766-
.Cases("mali-g78", "valhall2", TargetDetails{valhallWgp, nullptr})
769+
.Cases({"mali-g78", "valhall2"}, TargetDetails{valhallWgp, nullptr})
767770
// Mali-G57: https://vulkan.gpuinfo.org/displayreport.php?id=24636
768-
.Cases("mali-g77", "mali-g57", "valhall1", "valhall",
771+
.Cases({"mali-g77", "mali-g57", "valhall1", "valhall"},
769772
TargetDetails{valhallWgp, nullptr})
770773
.Default(std::nullopt);
771774
}
@@ -777,10 +780,10 @@ StringRef normalizeARMGPUTarget(StringRef target) {
777780
return target;
778781

779782
return llvm::StringSwitch<StringRef>(target.lower())
780-
.Cases("mali-g715", "mali-g615", "valhall4")
781-
.Cases("mali-g710", "mali-g510", "mali-g310", "valhall3")
783+
.Cases({"mali-g715", "mali-g615"}, "valhall4")
784+
.Cases({"mali-g710", "mali-g510", "mali-g310"}, "valhall3")
782785
.Case("mali-78", "valhall2")
783-
.Cases("mali-g77", "mali-g57", "valhall1")
786+
.Cases({"mali-g77", "mali-g57"}, "valhall1")
784787
.Default("");
785788
}
786789

@@ -901,11 +904,11 @@ std::optional<TargetDetails> getNVIDIAGPUTargetDetails(StringRef target) {
901904
.Case("rtx3070ti", TargetDetails{ampereWgp, &rtx3070tiChip})
902905
// https://www.techpowerup.com/gpu-specs/geforce-rtx-3070.c3674
903906
.Case("rtx3070", TargetDetails{ampereWgp, &rtx3070Chip})
904-
.Cases("ampere", "sm_80", "sm_86", "sm_87",
907+
.Cases({"ampere", "sm_80", "sm_86", "sm_87"},
905908
TargetDetails{ampereWgp, nullptr})
906-
.Cases("turing", "sm_75", TargetDetails{turingWgp, nullptr})
907-
.Cases("volta", "sm_70", "sm_72", TargetDetails{voltaWgp, nullptr})
908-
.Cases("pascal", "sm_60", "sm_61", "sm_62",
909+
.Cases({"turing", "sm_75"}, TargetDetails{turingWgp, nullptr})
910+
.Cases({"volta", "sm_70", "sm_72"}, TargetDetails{voltaWgp, nullptr})
911+
.Cases({"pascal", "sm_60", "sm_61", "sm_62"},
909912
TargetDetails{pascalWgp, nullptr})
910913
.Default(std::nullopt);
911914
}

compiler/src/iree/compiler/Dialect/HAL/IR/HALBase.td

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ include "mlir/IR/EnumAttr.td"
2020

2121
def HAL_Allocator : DialectType<
2222
HAL_Dialect,
23-
CPred<"isa<IREE::HAL::AllocatorType>($_self)">,
23+
CPred<"::llvm::isa<::mlir::iree_compiler::IREE::HAL::AllocatorType>($_self)">,
2424
"allocator"> {
2525
let description = [{
2626
Allocates buffers for a particular device memory space.
@@ -30,7 +30,7 @@ def HAL_Allocator : DialectType<
3030

3131
def HAL_Buffer : DialectType<
3232
HAL_Dialect,
33-
CPred<"isa<IREE::HAL::BufferType>($_self)">,
33+
CPred<"::llvm::isa<::mlir::iree_compiler::IREE::HAL::BufferType>($_self)">,
3434
"buffer"> {
3535
let description = [{
3636
A memory buffer with a specific memory_type that is used to describe the
@@ -39,57 +39,57 @@ def HAL_Buffer : DialectType<
3939
various usages. Depending on these memory types the buffers may be mapped
4040
for access on the host as memory though certain restrictions may be imposed.
4141
}];
42-
let builderCall = "$_builder.getType<IREE::HAL::BufferType>()";
42+
let builderCall = "$_builder.getType<::mlir::iree_compiler::IREE::HAL::BufferType>()";
4343
}
4444

4545
def HAL_BufferView : DialectType<
4646
HAL_Dialect,
47-
CPred<"isa<IREE::HAL::BufferViewType>($_self)">,
47+
CPred<"::llvm::isa<::mlir::iree_compiler::IREE::HAL::BufferViewType>($_self)">,
4848
"buffer_view"> {
4949
let description = [{
5050
A shaped and typed buffer reference. This just wraps an existing hal.buffer
5151
with its associated metadata to make it easier to pass across ABI
5252
boundaries. In most cases buffer views can be elided entirely by the
5353
compiler and they'll only be seen when calling external functions.
5454
}];
55-
let builderCall = "$_builder.getType<IREE::HAL::BufferViewType>()";
55+
let builderCall = "$_builder.getType<::mlir::iree_compiler::IREE::HAL::BufferViewType>()";
5656
}
5757

5858
def HAL_Channel : DialectType<
5959
HAL_Dialect,
60-
CPred<"isa<IREE::HAL::ChannelType>($_self)">,
60+
CPred<"::llvm::isa<::mlir::iree_compiler::IREE::HAL::ChannelType>($_self)">,
6161
"collective.channel"> {
6262
let description = [{
6363
Channel identifier used to allow for participation in multiple collective
6464
groups.
6565
}];
66-
let builderCall = "$_builder.getType<IREE::HAL::ChannelType>()";
66+
let builderCall = "$_builder.getType<::mlir::iree_compiler::IREE::HAL::ChannelType>()";
6767
}
6868

6969
def HAL_CommandBuffer : DialectType<
7070
HAL_Dialect,
71-
CPred<"isa<IREE::HAL::CommandBufferType>($_self)">,
71+
CPred<"::llvm::isa<::mlir::iree_compiler::IREE::HAL::CommandBufferType>($_self)">,
7272
"command_buffer"> {
7373
let description = [{
7474
Asynchronous command buffer recording interface. Commands are recorded by
7575
the implementation for later submission to command queues.
7676
}];
77-
let builderCall = "$_builder.getType<IREE::HAL::CommandBufferType>()";
77+
let builderCall = "$_builder.getType<::mlir::iree_compiler::IREE::HAL::CommandBufferType>()";
7878
}
7979

8080
def HAL_Device : DialectType<
8181
HAL_Dialect,
82-
CPred<"isa<IREE::HAL::DeviceType>($_self)">,
82+
CPred<"::llvm::isa<::mlir::iree_compiler::IREE::HAL::DeviceType>($_self)">,
8383
"device"> {
8484
let description = [{
8585
Logical device instance.
8686
}];
87-
let builderCall = "$_builder.getType<IREE::HAL::DeviceType>()";
87+
let builderCall = "$_builder.getType<::mlir::iree_compiler::IREE::HAL::DeviceType>()";
8888
}
8989

9090
def HAL_Event : DialectType<
9191
HAL_Dialect,
92-
CPred<"isa<IREE::HAL::EventType>($_self)">,
92+
CPred<"::llvm::isa<::mlir::iree_compiler::IREE::HAL::EventType>($_self)">,
9393
"event"> {
9494
let description = [{
9595
Events are used for defining synchronization scopes within CommandBuffers.
@@ -100,34 +100,34 @@ def HAL_Event : DialectType<
100100

101101
def HAL_Executable : DialectType<
102102
HAL_Dialect,
103-
CPred<"isa<IREE::HAL::ExecutableType>($_self)">,
103+
CPred<"::llvm::isa<::mlir::iree_compiler::IREE::HAL::ExecutableType>($_self)">,
104104
"executable"> {
105105
let description = [{
106106
A prepared and ready-to-dispatch executable.
107107
}];
108-
let builderCall = "$_builder.getType<IREE::HAL::ExecutableType>()";
108+
let builderCall = "$_builder.getType<::mlir::iree_compiler::IREE::HAL::ExecutableType>()";
109109
}
110110

111111
def HAL_Fence : DialectType<
112112
HAL_Dialect,
113-
CPred<"isa<IREE::HAL::FenceType>($_self)">,
113+
CPred<"::llvm::isa<::mlir::iree_compiler::IREE::HAL::FenceType>($_self)">,
114114
"fence"> {
115115
let description = [{
116116
A set of semaphore timepoints defining a common point in time across
117117
multiple timelines.
118118
}];
119-
let builderCall = "$_builder.getType<IREE::HAL::FenceType>()";
119+
let builderCall = "$_builder.getType<::mlir::iree_compiler::IREE::HAL::FenceType>()";
120120
}
121121

122122
def HAL_File : DialectType<
123123
HAL_Dialect,
124-
CPred<"isa<IREE::HAL::FileType>($_self)">,
124+
CPred<"::llvm::isa<::mlir::iree_compiler::IREE::HAL::FileType>($_self)">,
125125
"buffer"> {
126126
let description = [{
127127
A stateless file handle that can be read/written using queue-ordered
128128
transfer operations.
129129
}];
130-
let builderCall = "$_builder.getType<IREE::HAL::FileType>()";
130+
let builderCall = "$_builder.getType<::mlir::iree_compiler::IREE::HAL::FileType>()";
131131
}
132132

133133
def HAL_ObjectType : AnyTypeOf<[

compiler/src/iree/compiler/Dialect/Stream/IR/StreamBase.td

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,7 @@ def Stream_LifetimeAttr :
474474
}
475475

476476
def Stream_AnyResource : Type<
477-
CPred<"mlir::isa<IREE::Stream::ResourceType>($_self)">,
477+
CPred<"::llvm::isa<::mlir::iree_compiler::IREE::Stream::ResourceType>($_self)">,
478478
"any stream-compatible type">;
479479

480480
// TODO(benvanik): support other types; the interface may be enough.
@@ -552,32 +552,32 @@ def Stream_Resource : TypeDef<Stream_Dialect, "Resource", [
552552
}
553553

554554
def Stream_ResourceLifetimeUnknown : CPred<[{
555-
mlir::cast<IREE::Stream::ResourceType>($_self).getLifetime() ==
556-
IREE::Stream::Lifetime::Unknown
555+
::llvm::cast<::mlir::iree_compiler::IREE::Stream::ResourceType>($_self).getLifetime() ==
556+
::mlir::iree_compiler::IREE::Stream::Lifetime::Unknown
557557
}]>;
558558
def Stream_ResourceLifetimeExternal : CPred<[{
559-
mlir::cast<IREE::Stream::ResourceType>($_self).getLifetime() ==
560-
IREE::Stream::Lifetime::External
559+
::llvm::cast<::mlir::iree_compiler::IREE::Stream::ResourceType>($_self).getLifetime() ==
560+
::mlir::iree_compiler::IREE::Stream::Lifetime::External
561561
}]>;
562562
def Stream_ResourceLifetimeStaging : CPred<[{
563-
mlir::cast<IREE::Stream::ResourceType>($_self).getLifetime() ==
564-
IREE::Stream::Lifetime::Staging
563+
::llvm::cast<::mlir::iree_compiler::IREE::Stream::ResourceType>($_self).getLifetime() ==
564+
::mlir::iree_compiler::IREE::Stream::Lifetime::Staging
565565
}]>;
566566
def Stream_ResourceLifetimeTransient : CPred<[{
567-
mlir::cast<IREE::Stream::ResourceType>($_self).getLifetime() ==
568-
IREE::Stream::Lifetime::Transient
567+
::llvm::cast<::mlir::iree_compiler::IREE::Stream::ResourceType>($_self).getLifetime() ==
568+
::mlir::iree_compiler::IREE::Stream::Lifetime::Transient
569569
}]>;
570570
def Stream_ResourceLifetimeVariable : CPred<[{
571-
mlir::cast<IREE::Stream::ResourceType>($_self).getLifetime() ==
572-
IREE::Stream::Lifetime::Variable
571+
::llvm::cast<::mlir::iree_compiler::IREE::Stream::ResourceType>($_self).getLifetime() ==
572+
::mlir::iree_compiler::IREE::Stream::Lifetime::Variable
573573
}]>;
574574
def Stream_ResourceLifetimeConstant : CPred<[{
575-
mlir::cast<IREE::Stream::ResourceType>($_self).getLifetime() ==
576-
IREE::Stream::Lifetime::Constant
575+
::llvm::cast<::mlir::iree_compiler::IREE::Stream::ResourceType>($_self).getLifetime() ==
576+
::mlir::iree_compiler::IREE::Stream::Lifetime::Constant
577577
}]>;
578578

579579
def Stream_UnknownResource : DialectType<Stream_Dialect, And<[
580-
CPred<"mlir::isa<IREE::Stream::ResourceType>($_self)">,
580+
CPred<"::llvm::isa<::mlir::iree_compiler::IREE::Stream::ResourceType>($_self)">,
581581
Stream_ResourceLifetimeUnknown,
582582
]>, "resource"> {
583583
let description = [{
@@ -586,7 +586,7 @@ def Stream_UnknownResource : DialectType<Stream_Dialect, And<[
586586
}
587587

588588
def Stream_ExternalResource : DialectType<Stream_Dialect, And<[
589-
CPred<"mlir::isa<IREE::Stream::ResourceType>($_self)">,
589+
CPred<"::llvm::isa<::mlir::iree_compiler::IREE::Stream::ResourceType>($_self)">,
590590
Stream_ResourceLifetimeExternal,
591591
]>, "external resource"> {
592592
let description = [{
@@ -603,7 +603,7 @@ def Stream_ExternalResource : DialectType<Stream_Dialect, And<[
603603
}
604604

605605
def Stream_StagingResource : DialectType<Stream_Dialect, And<[
606-
CPred<"mlir::isa<IREE::Stream::ResourceType>($_self)">,
606+
CPred<"::llvm::isa<::mlir::iree_compiler::IREE::Stream::ResourceType>($_self)">,
607607
Stream_ResourceLifetimeStaging,
608608
]>, "staging resource"> {
609609
let description = [{
@@ -615,7 +615,7 @@ def Stream_StagingResource : DialectType<Stream_Dialect, And<[
615615
}
616616

617617
def Stream_TransientResource : DialectType<Stream_Dialect, And<[
618-
CPred<"mlir::isa<IREE::Stream::ResourceType>($_self)">,
618+
CPred<"::llvm::isa<::mlir::iree_compiler::IREE::Stream::ResourceType>($_self)">,
619619
Stream_ResourceLifetimeTransient,
620620
]>, "transient resource"> {
621621
let description = [{
@@ -631,7 +631,7 @@ def Stream_TransientResource : DialectType<Stream_Dialect, And<[
631631
}
632632

633633
def Stream_VariableResource : DialectType<Stream_Dialect, And<[
634-
CPred<"mlir::isa<IREE::Stream::ResourceType>($_self)">,
634+
CPred<"::llvm::isa<::mlir::iree_compiler::IREE::Stream::ResourceType>($_self)">,
635635
Stream_ResourceLifetimeVariable,
636636
]>, "variable resource"> {
637637
let description = [{
@@ -647,7 +647,7 @@ def Stream_VariableResource : DialectType<Stream_Dialect, And<[
647647
}
648648

649649
def Stream_ConstantResource : DialectType<Stream_Dialect, And<[
650-
CPred<"mlir::isa<IREE::Stream::ResourceType>($_self)">,
650+
CPred<"::llvm::isa<mlir::iree_compiler::IREE::Stream::ResourceType>($_self)">,
651651
Stream_ResourceLifetimeConstant,
652652
]>, "constant resource"> {
653653
let description = [{

0 commit comments

Comments
 (0)