[all-commits] [llvm/llvm-project] c0d7f0: [DAGCombine] fold (sext (sext_inreg x)) -> (sext (...

deadalnix via All-commits all-commits at lists.llvm.org
Tue Jan 10 12:33:17 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c0d7f0ca0047dd61585e688313bac0467234c43e
      https://github.com/llvm/llvm-project/commit/c0d7f0ca0047dd61585e688313bac0467234c43e
  Author: Amaury Séchet <deadalnix at gmail.com>
  Date:   2023-01-10 (Tue, 10 Jan 2023)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
    M llvm/test/CodeGen/X86/sdiv_fix.ll
    M llvm/test/CodeGen/X86/sdiv_fix_sat.ll

  Log Message:
  -----------
  [DAGCombine] fold (sext (sext_inreg x)) -> (sext (trunc x))

This fixes a regression introduced by D127115 in test/CodeGen/PowerPC/store-forward-be64.ll

Reviewed By: RKSimon

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




More information about the All-commits mailing list