[all-commits] [llvm/llvm-project] 9d7bcc: AMDGPU: Extend add x, (ext setcc) combine to sub

Matt Arsenault via All-commits all-commits at lists.llvm.org
Tue Nov 12 18:07:49 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 9d7bccab663f5e71320fb10727abcfa6c2dab046
      https://github.com/llvm/llvm-project/commit/9d7bccab663f5e71320fb10727abcfa6c2dab046
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2019-11-13 (Wed, 13 Nov 2019)

  Changed paths:
    M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
    M llvm/test/CodeGen/AMDGPU/combine-cond-add-sub.ll

  Log Message:
  -----------
  AMDGPU: Extend add x, (ext setcc) combine to sub

This is the same as the add case, but inverts the operation type.

This avoids regressions in a future patch.




More information about the All-commits mailing list