[all-commits] [llvm/llvm-project] 34ba96: [NFC][IndVarSimplify] remove duplicate code in wid...

dancgr via All-commits all-commits at lists.llvm.org
Wed Jan 15 13:22:01 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 34ba96a3d49e14abb2a36114a4ed6f97e1b9a9ee
      https://github.com/llvm/llvm-project/commit/34ba96a3d49e14abb2a36114a4ed6f97e1b9a9ee
  Author: Zhongduo Lin <jimmy.zhongduo.lin at huawei.com>
  Date:   2020-01-15 (Wed, 15 Jan 2020)

  Changed paths:
    M llvm/lib/Transforms/Scalar/IndVarSimplify.cpp

  Log Message:
  -----------
  [NFC][IndVarSimplify] remove duplicate code in widenWithVariantLoadUseCodegen.

Summary: Duplicate code in widenWithVariantLoadUseCodegen is removed and also use assert to check unknown extension type as it should be filtered out by the pre condition check before calling this function.

Reviewers: az, sanjoy, sebpop, efriedma, javed.absar, sanjoy.google

Reviewed By: efriedma

Subscribers: hiraditya, llvm-commits, amehsan

Tags: #llvm

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




More information about the All-commits mailing list