[all-commits] [llvm/llvm-project] 2afe86: [DAG] Add SimplifyDemandedBits support for BSWAP

RotateRight via All-commits all-commits at lists.llvm.org
Sun Dec 15 05:55:13 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 2afe86411847b3305915f536256b8bb877d8a356
      https://github.com/llvm/llvm-project/commit/2afe86411847b3305915f536256b8bb877d8a356
  Author: Sanjay Patel <spatel at rotateright.com>
  Date:   2019-12-15 (Sun, 15 Dec 2019)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
    M llvm/test/CodeGen/AArch64/arm64-rev.ll
    M llvm/test/CodeGen/AMDGPU/bswap.ll
    M llvm/test/CodeGen/X86/combine-bswap.ll

  Log Message:
  -----------
  [DAG] Add SimplifyDemandedBits support for BSWAP

This exposes a shortcoming for AArch64, and that is tracked by PR40881:
https://bugs.llvm.org/show_bug.cgi?id=40881

Patch by: @RKSimon (Simon Pilgrim)

Differential Revision: https://reviews.llvm.org/D58017




More information about the All-commits mailing list