[all-commits] [llvm/llvm-project] fadd20: [DAG] Ensure type is legal for bswap(shl(x, c)) -> ...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Sun Feb 27 03:25:42 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fadd20f80d6968a5a8623e0d1f804337ce084dcb
      https://github.com/llvm/llvm-project/commit/fadd20f80d6968a5a8623e0d1f804337ce084dcb
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2022-02-27 (Sun, 27 Feb 2022)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
    M llvm/test/CodeGen/AArch64/arm64-rev.ll
    M llvm/test/CodeGen/AArch64/load-combine-big-endian.ll
    M llvm/test/CodeGen/AArch64/load-combine.ll

  Log Message:
  -----------
  [DAG] Ensure type is legal for bswap(shl(x,c)) -> zext(bswap(trunc(shl(x,c-bw/2)))) fold

As reported on D120192




More information about the All-commits mailing list