[llvm-branch-commits] [clang] [KeyInstr][Clang] Assignment atom group (PR #134637)
Jeremy Morse via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Wed May 21 10:06:42 PDT 2025
================
@@ -0,0 +1,48 @@
+// RUN: %clang_cc1 -gkey-instructions -x c++ %s -debug-info-kind=line-tables-only -emit-llvm -o - \
+// RUN: | FileCheck %s --implicit-check-not atomGroup --implicit-check-not atomRank
----------------
jmorse wrote:
This test is great; I feel we can make it even greater by testing:
` g += ++h;`
Or something like that, where there are stores on both sides of a compound assignment expression.
https://github.com/llvm/llvm-project/pull/134637
More information about the llvm-branch-commits
mailing list