[all-commits] [llvm/llvm-project] 8a6248: [SimplifyCFG] Don't separate a load/store from its...

Nikita Popov via All-commits all-commits at lists.llvm.org
Mon Sep 23 00:32:46 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8a6248b739d705577fa5414b4010605dca38aa79
      https://github.com/llvm/llvm-project/commit/8a6248b739d705577fa5414b4010605dca38aa79
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-09-23 (Mon, 23 Sep 2024)

  Changed paths:
    M llvm/lib/Transforms/Utils/SimplifyCFG.cpp
    M llvm/test/Transforms/SimplifyCFG/X86/sink-common-code.ll

  Log Message:
  -----------
  [SimplifyCFG] Don't separate a load/store from its gep during sinking (#102318)

If we can sink the a load/store, but not the gep producing its pointer
operand, don't sink the load/store either. This may prevent the gep from
being folded into an addressing mode, and may also negatively affect
further analysis.

Fixes https://github.com/llvm/llvm-project/issues/96838.



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