[all-commits] [llvm/llvm-project] 355369: [PowerPC] Re-enable combine for i64 BSWAP on targe...

Nemanja Ivanovic via All-commits all-commits at lists.llvm.org
Tue Jul 6 18:42:19 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3553698de7a1033bd9ca79f9cfee83c85f4e20d4
      https://github.com/llvm/llvm-project/commit/3553698de7a1033bd9ca79f9cfee83c85f4e20d4
  Author: Nemanja Ivanovic <nemanja.i.ibm at gmail.com>
  Date:   2021-07-06 (Tue, 06 Jul 2021)

  Changed paths:
    M llvm/lib/Target/PowerPC/PPCISelLowering.cpp
    M llvm/test/CodeGen/PowerPC/bswap-load-store.ll
    M llvm/test/CodeGen/PowerPC/ld-bswap64-no-ldbrx.ll

  Log Message:
  -----------
  [PowerPC] Re-enable combine for i64 BSWAP on targets without LDBRX

The combine was disabled in 4e22c7265d86 as it caused failures in
the ppc64be-multistage (bootstrap) bot.
It turns out that the combine did not correctly update the MMO for
the high load which caused aliased stores to be reported as unaliased.
This patch fixes that problem and re-enables the combine.




More information about the All-commits mailing list