[all-commits] [llvm/llvm-project] bbbec7: [DSE.MSSA] Only use callCapturesBefore for calls.

Florian Hahn via All-commits all-commits at lists.llvm.org
Wed Apr 8 07:16:48 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: bbbec716090243d42260c4ef47c8a7695950b52f
      https://github.com/llvm/llvm-project/commit/bbbec716090243d42260c4ef47c8a7695950b52f
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2020-04-08 (Wed, 08 Apr 2020)

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

  Log Message:
  -----------
  [DSE.MSSA] Only use callCapturesBefore for calls.

callCapturesBefore always returns ModRef , if UseInst isn't a call. As
we only call it if we already know Mod is set, this only destroys the
Must bit for non-calls.




More information about the All-commits mailing list