[all-commits] [llvm/llvm-project] fad852: [DAG] combineShiftAnd1ToBitTest - improve support ...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Sat Mar 11 08:38:07 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fad852efe4d6a65293f30825b5ff60b4f0fcd429
      https://github.com/llvm/llvm-project/commit/fad852efe4d6a65293f30825b5ff60b4f0fcd429
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2023-03-11 (Sat, 11 Mar 2023)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
    M llvm/test/CodeGen/X86/test-vs-bittest.ll

  Log Message:
  -----------
  [DAG] combineShiftAnd1ToBitTest - improve support for peeking through truncations

Allows us to handle shift amounts that exceed the original bitwidth




More information about the All-commits mailing list