[all-commits] [llvm/llvm-project] 9b4d93: [FastISel][WebAssembly] Don't perform load folding...

Nikita Popov via All-commits all-commits at lists.llvm.org
Wed Jul 8 23:57:01 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9b4d930bc49953735bc34318edd701bb4d2492a8
      https://github.com/llvm/llvm-project/commit/9b4d930bc49953735bc34318edd701bb4d2492a8
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2026-07-09 (Thu, 09 Jul 2026)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/FastISel.cpp
    A llvm/test/CodeGen/WebAssembly/fast-isel-atomic-fold.ll

  Log Message:
  -----------
  [FastISel][WebAssembly] Don't perform load folding for atomic load (#207728)

Don't try to fold an atomic load into other instructions. Atomic loads
may require different instructions / barriers / etc.

Wasm started using this functionality in
https://github.com/llvm/llvm-project/pull/182767. It's not really
specific to wasm, but the problem is masked on some other targets (e.g.
on X86 even a seq_cst atomic load can be lowered to a plain load).



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