[all-commits] [llvm/llvm-project] ad9ad3: Do not move "auto-init" instruction if they're vol...

serge-sans-paille via All-commits all-commits at lists.llvm.org
Tue Apr 4 11:42:58 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ad9ad3735c4821ff4651fab7537a75b8f0bb60f8
      https://github.com/llvm/llvm-project/commit/ad9ad3735c4821ff4651fab7537a75b8f0bb60f8
  Author: serge-sans-paille <sguelton at mozilla.com>
  Date:   2023-04-04 (Tue, 04 Apr 2023)

  Changed paths:
    M llvm/lib/Transforms/Utils/MoveAutoInit.cpp

  Log Message:
  -----------
  Do not move "auto-init" instruction if they're volatile

This is overly conservative, but at least it's safe.

This is a follow-up to https://reviews.llvm.org/D137707




More information about the All-commits mailing list