[all-commits] [llvm/llvm-project] 637746: [InstCombine] add one-use check to cast+select nar...

RotateRight via All-commits all-commits at lists.llvm.org
Fri Jul 3 08:54:38 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 63774642af1efb127c6e3eafdd44eadc54647141
      https://github.com/llvm/llvm-project/commit/63774642af1efb127c6e3eafdd44eadc54647141
  Author: Sanjay Patel <spatel at rotateright.com>
  Date:   2020-07-03 (Fri, 03 Jul 2020)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
    M llvm/test/Transforms/InstCombine/select-bitext.ll
    M llvm/test/Transforms/InstCombine/select-ctlz-to-cttz.ll

  Log Message:
  -----------
  [InstCombine] add one-use check to cast+select narrowing transform

Prevent increasing the instruction count.




More information about the All-commits mailing list