Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ROCm] Fix for a test failure on the ROCm platform - 200211 - 1 #36671

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -374,12 +374,12 @@ TEST_F(GpuKernelTilingTest, ColumnReductionWithPowerOf2OutputElementsUnrolled) {
auto expected_ir = is_built_with_rocm_ ? R"(
; CHECK-LABEL: define amdgpu_kernel void @fusion
;
; CHECK-LABEL: atomic_op_loop_body{{.*}}:
; CHECK-LABEL: atomic_op_loop_body{{[0-9]*}}.atomic_op_loop_body{{[0-9]*}}_crit_edge:
; CHECK: %[[fadd:.*]] = fadd float %{{.*}}, %{{.*}}
; CHECK: %[[bitcast:.*]] = bitcast float %[[fadd]] to i32
; CHECK: %{{.*}} = cmpxchg i32* %{{.*}}, i32 %{{.*}}, i32 %[[bitcast]]
;
; CHECK-LABEL: atomic_op_loop_body{{.*}}:
; CHECK-LABEL: atomic_op_loop_body{{[0-9]*}}.atomic_op_loop_body{{[0-9]*}}_crit_edge:
; CHECK: %[[fadd:.*]] = fadd float %{{.*}}, %{{.*}}
; CHECK: %[[bitcast:.*]] = bitcast float %[[fadd]] to i32
; CHECK: %{{.*}} = cmpxchg i32* %{{.*}}, i32 %{{.*}}, i32 %[[bitcast]]
Expand Down Expand Up @@ -498,22 +498,22 @@ TEST_F(GpuKernelTilingTest, ColumnReductionMOFUnrolled) {
auto expected_ir = is_built_with_rocm_ ? R"(
; CHECK-LABEL: define amdgpu_kernel void @fusion
;
; CHECK-LABEL: atomic_op_loop_body{{.*}}:
; CHECK-LABEL: atomic_op_loop_body{{[0-9]*}}.atomic_op_loop_body{{[0-9]*}}_crit_edge:
; CHECK: %[[fadd:.*]] = fadd float %{{.*}}, %{{.*}}
; CHECK: %[[bitcast:.*]] = bitcast float %[[fadd]] to i32
; CHECK: %{{.*}} = cmpxchg i32* %{{.*}}, i32 %{{.*}}, i32 %[[bitcast]]
;
; CHECK-LABEL: atomic_op_loop_body{{.*}}:
; CHECK-LABEL: atomic_op_loop_body{{[0-9]*}}.atomic_op_loop_body{{[0-9]*}}_crit_edge:
; CHECK: %[[fadd:.*]] = fadd float %{{.*}}, %{{.*}}
; CHECK: %[[bitcast:.*]] = bitcast float %[[fadd]] to i32
; CHECK: %{{.*}} = cmpxchg i32* %{{.*}}, i32 %{{.*}}, i32 %[[bitcast]]
;
; CHECK-LABEL: atomic_op_loop_body{{.*}}:
; CHECK-LABEL: atomic_op_loop_body{{[0-9]*}}.atomic_op_loop_body{{[0-9]*}}_crit_edge:
; CHECK: %[[fadd:.*]] = fadd float %{{.*}}, %{{.*}}
; CHECK: %[[bitcast:.*]] = bitcast float %[[fadd]] to i32
; CHECK: %{{.*}} = cmpxchg i32* %{{.*}}, i32 %{{.*}}, i32 %[[bitcast]]
;
; CHECK-LABEL: atomic_op_loop_body{{.*}}:
; CHECK-LABEL: atomic_op_loop_body{{[0-9]*}}.atomic_op_loop_body{{[0-9]*}}_crit_edge:
; CHECK: %[[fadd:.*]] = fadd float %{{.*}}, %{{.*}}
; CHECK: %[[bitcast:.*]] = bitcast float %[[fadd]] to i32
; CHECK: %{{.*}} = cmpxchg i32* %{{.*}}, i32 %{{.*}}, i32 %[[bitcast]]
Expand Down