Page MenuHomePhabricator

[Clang][OpenMP] Enable floating-point operation for `atomic compare` series
ClosedPublic

Authored by tianshilei1992 on Jun 3 2022, 6:36 PM.

Details

Summary

D127041 introduced the support for fmax and fmin such that we can also reprent
atomic compare and atomic compare capture with atomicrmw instruction. This
patch simply lifts the limitation we set before.

Depend on D127041.

Diff Detail

Unit TestsFailed

TimeTest
70 msx64 debian > LLVM.CodeGen/AArch64/GlobalISel::legalizer-info-validation.mir
Script: -- : 'RUN: at line 1'; /var/lib/buildkite-agent/builds/llvm-project/build/bin/llc -mtriple=aarch64-- -run-pass=legalizer /var/lib/buildkite-agent/builds/llvm-project/llvm/test/CodeGen/AArch64/GlobalISel/legalizer-info-validation.mir -mcpu=cortex-a75 -o - 2>&1 | /var/lib/buildkite-agent/builds/llvm-project/build/bin/FileCheck /var/lib/buildkite-agent/builds/llvm-project/llvm/test/CodeGen/AArch64/GlobalISel/legalizer-info-validation.mir --check-prefixes=CHECK

Event Timeline

tianshilei1992 created this revision.Jun 3 2022, 6:36 PM
Herald added a project: Restricted Project. · View Herald TranscriptJun 3 2022, 6:36 PM
tianshilei1992 requested review of this revision.Jun 3 2022, 6:36 PM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptJun 3 2022, 6:36 PM
This revision is now accepted and ready to land.Jun 4 2022, 11:20 AM

remove unrelated changes

This revision was landed with ongoing or failed builds.Jul 6 2022, 10:05 AM
This revision was automatically updated to reflect the committed changes.