Skip to content

Commit 3536931

Browse files
authored
Integrate LLVM at 94783a8199c5e589d8efd6d4530482d72bf98f4d (#20375)
ROCDL tests are updated due to LLVM commit 0ea4fb92648b2aa7cbab486bb493e122b4dcc062. --------- Signed-off-by: Andrea Faulds <andrea.faulds@amd.com>
1 parent bd7ff5a commit 3536931

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

compiler/src/iree/compiler/Codegen/LLVMGPU/test/ROCDL/pipeline_elementwise_f8fnuz.mlir

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ hal.executable @ext_fp8_dispatch {
4545

4646
// CDNA3-LABEL: hal.executable public @ext_fp8_dispatch
4747
// CDNA3: hal.executable.variant public @rocm
48-
// CDNA3-COUNT-16: rocdl.cvt.f32.fp8 %{{.*}} : f32
49-
// CDNA3-COUNT-16: rocdl.cvt.f32.bf8 %{{.*}} : f32
48+
// CDNA3-COUNT-8: rocdl.cvt.pk.f32.fp8 %{{.*}} : vector<2xf32>
49+
// CDNA3-COUNT-8: rocdl.cvt.pk.f32.bf8 %{{.*}} : vector<2xf32>
5050
// CDNA3: %[[ADD:.+]] = llvm.fadd %{{.*}}, %{{.*}} : vector<16xf32>
5151
// CDNA3: llvm.store %[[ADD]], %{{.*}} : vector<16xf32>, !llvm.ptr<7>
5252

compiler/src/iree/compiler/Codegen/LLVMGPU/test/ROCDL/pipeline_elementwise_f8ocp.mlir

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ hal.executable @ext_fp8_dispatch {
4545

4646
// RDNA4-LABEL: hal.executable public @ext_fp8_dispatch
4747
// RDNA4: hal.executable.variant public @rocm
48-
// RDNA4-COUNT-16: rocdl.cvt.f32.fp8 %{{.*}} : f32
49-
// RDNA4-COUNT-16: rocdl.cvt.f32.bf8 %{{.*}} : f32
48+
// RDNA4-COUNT-8: rocdl.cvt.pk.f32.fp8 %{{.*}} : vector<2xf32>
49+
// RDNA4-COUNT-8: rocdl.cvt.pk.f32.bf8 %{{.*}} : vector<2xf32>
5050
// RDNA4: %[[ADD:.+]] = llvm.fadd %{{.*}}, %{{.*}} : vector<16xf32>
5151
// RDNA4: llvm.store %[[ADD]], %{{.*}} : vector<16xf32>, !llvm.ptr<7>
5252

third_party/llvm-project

Submodule llvm-project updated 1660 files

0 commit comments

Comments
 (0)