[all-commits] [llvm/llvm-project] ba8911: [ValueTracking] Fix analyses to update CxtI to be ...
Juneyoung Lee via All-commits
all-commits at lists.llvm.org
Mon Sep 28 07:26:54 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: ba8911d560ef85cae55fc45440afa3bef374f1e0
https://github.com/llvm/llvm-project/commit/ba8911d560ef85cae55fc45440afa3bef374f1e0
Author: Juneyoung Lee <aqjune at gmail.com>
Date: 2020-09-28 (Mon, 28 Sep 2020)
Changed paths:
M llvm/lib/Analysis/ValueTracking.cpp
M llvm/unittests/Analysis/ValueTrackingTest.cpp
Log Message:
-----------
[ValueTracking] Fix analyses to update CxtI to be phi's incoming edges' terminators
It was mentioned that D88276 that when a phi node is visited, terminators at their incoming edges should be used for CtxI.
This is a patch that makes two functions (ComputeNumSignBitsImpl, isGuaranteedNotToBeUndefOrPoison) to do so.
Reviewed By: nikic
Differential Revision: https://reviews.llvm.org/D88360
More information about the All-commits
mailing list