[all-commits] [llvm/llvm-project] 819e0d: [CGAtomic] Lift strong requirement for remaining c...

Bruno Cardoso Lopes via All-commits all-commits at lists.llvm.org
Thu May 6 21:09:15 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 819e0d105e84c6081cfcfa0e38fd257b6124553a
      https://github.com/llvm/llvm-project/commit/819e0d105e84c6081cfcfa0e38fd257b6124553a
  Author: Bruno Cardoso Lopes <bruno.cardoso at gmail.com>
  Date:   2021-05-06 (Thu, 06 May 2021)

  Changed paths:
    M clang/lib/CodeGen/CGAtomic.cpp
    M clang/test/CodeGen/atomic-ops.c
    M clang/test/CodeGenOpenCL/atomic-ops.cl
    M llvm/lib/AsmParser/LLParser.cpp
    M llvm/lib/IR/Instructions.cpp
    M llvm/lib/IR/Verifier.cpp

  Log Message:
  -----------
  [CGAtomic] Lift strong requirement for remaining compare_exchange combinations

Follow up on 431e3138a and complete the other possible combinations.

Besides enforcing the new behavior, it also mitigates TSAN false positives when
combining orders that used to be stronger.




More information about the All-commits mailing list