[all-commits] [llvm/llvm-project] ace0bf: [ValueTracking] Fix incorrect handling of canCreat...

Juneyoung Lee via All-commits all-commits at lists.llvm.org
Tue Jul 21 17:31:54 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: ace0bf749099c104ad50252988097c9495df7ccd
      https://github.com/llvm/llvm-project/commit/ace0bf749099c104ad50252988097c9495df7ccd
  Author: Juneyoung Lee <aqjune at gmail.com>
  Date:   2020-07-22 (Wed, 22 Jul 2020)

  Changed paths:
    M llvm/lib/Analysis/ValueTracking.cpp
    M llvm/test/Transforms/InstSimplify/freeze.ll

  Log Message:
  -----------
  [ValueTracking] Fix incorrect handling of canCreateUndefOrPoison

.. in isGuaranteedNotToBeUndefOrPoison.

This caused early exit of isGuaranteedNotToBeUndefOrPoison, making it return
imprecise result.

Reviewed By: nikic

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




More information about the All-commits mailing list