[all-commits] [llvm/llvm-project] 66d64a: [GlobalISel] Fix a store-merging bug due to use of...

Amara Emerson via All-commits all-commits at lists.llvm.org
Sun Feb 19 15:56:04 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 66d64aac36a69d08509d5a00ef302ddf783e939f
      https://github.com/llvm/llvm-project/commit/66d64aac36a69d08509d5a00ef302ddf783e939f
  Author: Amara Emerson <amara at apple.com>
  Date:   2023-02-19 (Sun, 19 Feb 2023)

  Changed paths:
    M llvm/lib/CodeGen/GlobalISel/LoadStoreOpt.cpp
    M llvm/test/CodeGen/AArch64/GlobalISel/store-merging.ll

  Log Message:
  -----------
  [GlobalISel] Fix a store-merging bug due to use of >= instead of >.

This fixes a corner case where we would skip doing an alias check because of a
>= vs > bug, due to the presence of a non-aliasing instruction, in this case
the load %safeld.

Fixes issue #59376




More information about the All-commits mailing list