[all-commits] [llvm/llvm-project] 97e714: [DSE, MSSA] Fix location order in isOverwrite call.

Florian Hahn via All-commits all-commits at lists.llvm.org
Sat Jun 13 12:44:04 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 97e7147e3488ee25f569694a60790a3feac7d7eb
      https://github.com/llvm/llvm-project/commit/97e7147e3488ee25f569694a60790a3feac7d7eb
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2020-06-13 (Sat, 13 Jun 2020)

  Changed paths:
    M llvm/lib/Transforms/Scalar/DeadStoreElimination.cpp
    M llvm/test/Transforms/DeadStoreElimination/MSSA/multiblock-multipath.ll

  Log Message:
  -----------
  [DSE,MSSA] Fix location order in isOverwrite call.

isOverwrite expects the later location as first argument and the earlier
result later. The adjusted call is intended to check whether CC
overwrites DefLoc.




More information about the All-commits mailing list