[all-commits] [llvm/llvm-project] dd0b18: [X86] Disable load folding for X86ISD::ADD with 12...

topperc via All-commits all-commits at lists.llvm.org
Sun Feb 16 20:53:21 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: dd0b18e1eccb8786bcfe0ee7bcf20d988cbc5743
      https://github.com/llvm/llvm-project/commit/dd0b18e1eccb8786bcfe0ee7bcf20d988cbc5743
  Author: Craig Topper <craig.topper at gmail.com>
  Date:   2020-02-16 (Sun, 16 Feb 2020)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelDAGToDAG.cpp
    M llvm/test/CodeGen/X86/add.ll

  Log Message:
  -----------
  [X86] Disable load folding for X86ISD::ADD with 128 as an immediate.

It can be turned into a sub with -128 instead as long as the
carry flag isn't used.




More information about the All-commits mailing list