[all-commits] [llvm/llvm-project] bf21f0: [InstCombine] Extra combine for uadd_sat

David Green via All-commits all-commits at lists.llvm.org
Mon Oct 28 08:27:54 PDT 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: bf21f0d489fb461a8eeb4d6342d28ed2c6e4048d
      https://github.com/llvm/llvm-project/commit/bf21f0d489fb461a8eeb4d6342d28ed2c6e4048d
  Author: David Green <david.green at arm.com>
  Date:   2019-10-28 (Mon, 28 Oct 2019)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
    M llvm/test/Transforms/InstCombine/saturating-add-sub.ll

  Log Message:
  -----------
  [InstCombine] Extra combine for uadd_sat

This is an extra fold for a canonical form of uadd_sat, as shown in
D68651. It essentially selects uadd from an add and a select.

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




More information about the All-commits mailing list