[all-commits] [llvm/llvm-project] b13e94: [ValueTracking] Add a two argument form of safeCtx...

Philip Reames via All-commits all-commits at lists.llvm.org
Fri Feb 19 14:53:12 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b13e9422242df04c3b33a307ac50faad15d9b7e3
      https://github.com/llvm/llvm-project/commit/b13e9422242df04c3b33a307ac50faad15d9b7e3
  Author: Philip Reames <listmail at philipreames.com>
  Date:   2021-02-19 (Fri, 19 Feb 2021)

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

  Log Message:
  -----------
  [ValueTracking] Add a two argument form of safeCtxI [NFC]

The existing implementation was relying on order of evaluation to achieve a particular result.  This got really confusing when wanting to change the handling for arguments in a later patch.




More information about the All-commits mailing list