[all-commits] [llvm/llvm-project] 1c31d2: [CIR] Disallow mem2reg for volatile/atomic loads a...

Sirui Mu via All-commits all-commits at lists.llvm.org
Tue Jul 28 08:03:36 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1c31d28d1a1e746db9070c90ff40f8a6f53ff0db
      https://github.com/llvm/llvm-project/commit/1c31d28d1a1e746db9070c90ff40f8a6f53ff0db
  Author: Sirui Mu <msrlancern at gmail.com>
  Date:   2026-07-28 (Tue, 28 Jul 2026)

  Changed paths:
    M clang/lib/CIR/Dialect/IR/CIRMemorySlot.cpp
    M clang/test/CIR/Transforms/mem2reg.cir

  Log Message:
  -----------
  [CIR] Disallow mem2reg for volatile/atomic loads and stores (#212262)

Current mem2reg implementation for `cir.load` and `cir.store` does not
check whether the load/store is volatile or atomic. Fix this.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list