[all-commits] [llvm/llvm-project] 893725: [DAG] computeKnownBits - add basic shift-by-parts ...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Sat Jul 23 01:46:55 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8937252465a5f6575a7e3b353d5a095fc4bb90f2
      https://github.com/llvm/llvm-project/commit/8937252465a5f6575a7e3b353d5a095fc4bb90f2
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2022-07-23 (Sat, 23 Jul 2022)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
    M llvm/test/CodeGen/X86/shift-parts.ll

  Log Message:
  -----------
  [DAG] computeKnownBits - add basic shift-by-parts handling

Concat KnownBits from ISD::SHL_PARTS / ISD::SRA_PARTS / ISD::SRL_PARTS lo/hi operands and perform the KnownBits calculation by the shift amount on the extended type, before splitting the KnownBits based on the requested lo/hi result.




More information about the All-commits mailing list