[all-commits] [llvm/llvm-project] a05932: [InstCombine] Refactor foldICmpAndShift(); NFCI

Nikita Popov via All-commits all-commits at lists.llvm.org
Sat Feb 8 13:27:58 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: a05932931c640e7ce3f0c3bea0185f1a339c1f91
      https://github.com/llvm/llvm-project/commit/a05932931c640e7ce3f0c3bea0185f1a339c1f91
  Author: Nikita Popov <nikita.ppv at gmail.com>
  Date:   2020-02-08 (Sat, 08 Feb 2020)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp

  Log Message:
  -----------
  [InstCombine] Refactor foldICmpAndShift(); NFCI

Separate out handling for shl, lshr and ashr. The combined handling
obscured some overly pessimistic requirements for the transform.




More information about the All-commits mailing list