[all-commits] [llvm/llvm-project] 557b13: [DA] Refactor with a better API

CongzheUalberta via All-commits all-commits at lists.llvm.org
Wed Apr 13 11:52:54 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 557b131c885b0225d24b027dec3162e0ba051068
      https://github.com/llvm/llvm-project/commit/557b131c885b0225d24b027dec3162e0ba051068
  Author: Congzhe Cao <congzhe.cao at huawei.com>
  Date:   2022-04-13 (Wed, 13 Apr 2022)

  Changed paths:
    M llvm/lib/Analysis/DependenceAnalysis.cpp
    M llvm/test/Analysis/DependenceAnalysis/SimpleSIVNoValidityCheckFixedSize.ll

  Log Message:
  -----------
  [DA] Refactor with a better API

Refactor from iteratively using BitCastInst::getOperand()
to using stripPointerCasts() instead. This is an improvement
since now we are able to analyze more cases, please refer
to test cases added in this patch.

Reviewed By: Meinersbur, #loopoptwg

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




More information about the All-commits mailing list