[all-commits] [llvm/llvm-project] 2abda6: [NFC][DA] Remove duplicate code in checkSrcSubscri...

dancgr via All-commits all-commits at lists.llvm.org
Fri Dec 27 07:04:45 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 2abda66848e5b7f502f978f030254118ec6751d6
      https://github.com/llvm/llvm-project/commit/2abda66848e5b7f502f978f030254118ec6751d6
  Author: Danilo Carvalho Grael <danilo.carvalho.grael at huawei.com>
  Date:   2019-12-27 (Fri, 27 Dec 2019)

  Changed paths:
    M llvm/include/llvm/Analysis/DependenceAnalysis.h
    M llvm/lib/Analysis/DependenceAnalysis.cpp

  Log Message:
  -----------
  [NFC][DA] Remove duplicate code in checkSrcSubscript and checkDstSubscript

Summary:
[DA] Move common code in checkSrcSubscript and checkDstSubscript to a
new function checkSubscript. This avoids duplicate code and possible
out of sync in the future.

Reviewers: sebpop, jmolloy, reames

Reviewed By: sebpop

Subscribers: bmahjour, hiraditya, llvm-commits, amehsan

Tags: #llvm

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

Patch by zhongduo.




More information about the All-commits mailing list