[all-commits] [llvm/llvm-project] 74784a: [X86] In shrinkAndImmediate, place the new constan...

Craig Topper via All-commits all-commits at lists.llvm.org
Tue Jan 26 13:18:42 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 74784a5aa47bb8967e5868831e359fa631abe465
      https://github.com/llvm/llvm-project/commit/74784a5aa47bb8967e5868831e359fa631abe465
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2021-01-26 (Tue, 26 Jan 2021)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelDAGToDAG.cpp
    M llvm/test/CodeGen/X86/pr48458.ll
    A llvm/test/CodeGen/X86/pr48888.ll

  Log Message:
  -----------
  [X86] In shrinkAndImmediate, place the new constant into the topological sort.

Revert the change to use APInt::isSignedIntN from
5ff5cf8e057782e3e648ecf5ccf1d9990b53ee90.

Its clear that the games we were playing to avoid the topological
sort aren't working. So just fix it once and for all.

Fixes PR48888.




More information about the All-commits mailing list