[all-commits] [llvm/llvm-project] 47ee40: [ValueTracking] Use Inst::comesBefore in isValidAs...

Florian Hahn via All-commits all-commits at lists.llvm.org
Sun Apr 5 04:46:27 PDT 2020


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

  Changed paths:
    M llvm/lib/Analysis/ValueTracking.cpp

  Log Message:
  -----------
  [ValueTracking] Use Inst::comesBefore in isValidAssumeForCtx (NFC).

D51664 added Instruction::comesBefore which should provide better
performance than the manual check.

Reviewers: rnk, nikic, spatel

Reviewed By: nikic

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




More information about the All-commits mailing list