[all-commits] [llvm/llvm-project] 4ff713: [InstCombine] FoldShiftByConstant - create Scalar/...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Mon Oct 12 10:41:47 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 4ff71362683b159903b3908f5c9f949d2fe7656d
      https://github.com/llvm/llvm-project/commit/4ff71362683b159903b3908f5c9f949d2fe7656d
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2020-10-12 (Mon, 12 Oct 2020)

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

  Log Message:
  -----------
  [InstCombine] FoldShiftByConstant - create Scalar/Vector constant with ConstantInt::get(). NFCI.

There's no need to create constant vector splats manually - missed this one in rG24dd0cd1edd5




More information about the All-commits mailing list